ReferencedTypeCollection.TryGetTypeReference(Type, UInt32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取指定类型的标识符。
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
否则为 。