ReferencedTypeCollection.TryGetTypeReference(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.
Gets the identifier for the specified type.
public bool TryGetTypeReference (Type type, out uint reference);
member this.TryGetTypeReference : Type * uint32 -> bool
Public Function TryGetTypeReference (type As Type, ByRef reference As UInteger) As Boolean
Parameters
- type
- Type
The type.
- reference
- UInt32
The reference.
Returns
true
if the type has been previoulsy referenced, false
otherwise.