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