ImportManyAttribute.ContractType Vlastnost

Definice

Získá typ kontraktu exportu k importu.

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

Hodnota vlastnosti

Typ exportu, který tento import očekává. Výchozí hodnota je null, což znamená, že typ bude získán pohledem na typ člena, ke kterému je tento import připojen. Pokud je Objecttyp, import se shoduje s jakýmkoli exportovaným typem.

Platí pro