Share via


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 の場合、インポートは任意のエクスポート型に一致します。

適用対象