EnumBuilder.GetInterfaces 方法

定義

傳回在這個類別及其基底類別上實作之所有介面的陣列。

public:
 override cli::array <Type ^> ^ GetInterfaces();
public override Type[] GetInterfaces ();
override this.GetInterfaces : unit -> Type[]
Public Overrides Function GetInterfaces () As Type()

傳回

Type[]

傳回 Type 物件的陣列,代表所實作的介面。 如果未定義,則會傳回空陣列。

備註

因應措施是,若要擷取已完成類型的介面,請使用 或 Assembly.GetType 擷取型Type.GetType別,並在擷取的類型上使用反映。

適用於