共用方式為


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 否則為 。

適用於