ImportManyAttribute.ContractType 屬性

定義

取得要匯入之匯出的合約型別。

public:
 property Type ^ ContractType { Type ^ get(); };
public Type ContractType { get; }
public Type? ContractType { get; }
member this.ContractType : Type
Public ReadOnly Property ContractType As Type

屬性值

這個匯入所預期的匯出型別。 預設值為 null,表示將透過在附加此匯入之成員上查看型別的方式取得型別。 如果型別為 Object,則此匯入符合所有匯出的型別。

適用於