ReferencedTypeCollection.TryGetTypeReference(Type, UInt32) 方法

定义

获取指定类型的标识符。

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

参数

type
Type

类型。

reference
UInt32

引用。

返回

true 如果已预先引用类型,则为 ; false 否则为 。

适用于