Edit

Share via


WellKnownTypeCollection.TryGetWellKnownTypeId(Type, UInt32) Method

Definition

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.

Applies to