WellKnownTypeCollection.TryGetWellKnownType(UInt32, Type) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
尝试获取与所提供的类型标识符对应的类型。
public bool TryGetWellKnownType (uint typeId, out Type type);
member this.TryGetWellKnownType : uint32 * Type -> bool
Public Function TryGetWellKnownType (typeId As UInteger, ByRef type As Type) As Boolean
参数
- typeId
- UInt32
类型标识符。
- type
- Type
类型。
返回
true
如果找到相应的类型,则为 ; false
否则为 。