WellKnownTypeCollection.TryGetWellKnownType(UInt32, Type) 方法

定义

尝试获取与所提供的类型标识符对应的类型。

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 否则为 。

适用于