語言

KnownTypesProvider.GetKnownTypes(ICustomAttributeProvider) 方法

定義

建立包含各類設定檔屬性的物件陣列 Type 。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public:
 static cli::array <Type ^> ^ GetKnownTypes(System::Reflection::ICustomAttributeProvider ^ knownTypeAttributeTarget);
public static Type[] GetKnownTypes(System.Reflection.ICustomAttributeProvider knownTypeAttributeTarget);
static member GetKnownTypes : System.Reflection.ICustomAttributeProvider -> Type[]
Public Shared Function GetKnownTypes (knownTypeAttributeTarget As ICustomAttributeProvider) As Type()

參數

knownTypeAttributeTarget
ICustomAttributeProvider

一個提供者物件。

傳回

Type[]

各種個人檔案屬性的類型。

適用於