WellKnownTypeCollection.TryGetWellKnownTypeId(Type, UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Tries the get the type identifier corresponding to the provided type.
public bool TryGetWellKnownTypeId (Type type, out uint typeId);
member this.TryGetWellKnownTypeId : Type * uint32 -> bool
Public Function TryGetWellKnownTypeId (type As Type, ByRef typeId As UInteger) As Boolean
Parameters
- type
- Type
The type.
- typeId
- UInt32
The type identifier.
Returns
true
if the type has a well-known identifier, false
otherwise.