ExportBuilder.AsContractType Metódus
Definíció
Fontos
Egyes információk olyan, kiadás előtti termékekre vonatkoznak, amelyek a kiadásig még jelentősen módosulhatnak. A Microsoft nem vállal kifejezett vagy törvényi garanciát az itt megjelenő információért.
Túlterhelések
| Name | Description |
|---|---|
| AsContractType(Type) |
Megadja, hogy az exportálás a megadott szerződéstípust használja. |
| AsContractType<T>() |
Megadja, hogy az exportálás a megadott szerződéstípust használja. |
AsContractType(Type)
- Forrás:
- ExportBuilder.cs
- Forrás:
- ExportBuilder.cs
- Forrás:
- ExportBuilder.cs
- Forrás:
- ExportBuilder.cs
Megadja, hogy az exportálás a megadott szerződéstípust használja.
public:
System::ComponentModel::Composition::Registration::ExportBuilder ^ AsContractType(Type ^ type);
public System.ComponentModel.Composition.Registration.ExportBuilder AsContractType(Type type);
member this.AsContractType : Type -> System.ComponentModel.Composition.Registration.ExportBuilder
Public Function AsContractType (type As Type) As ExportBuilder
Paraméterek
- type
- Type
A használni kívánt szerződéstípus.
Válaszok
Az aktuális objektum a láncolás engedélyezéséhez.
Kivételek
type az null.
A következőre érvényes:
AsContractType<T>()
- Forrás:
- ExportBuilder.cs
- Forrás:
- ExportBuilder.cs
- Forrás:
- ExportBuilder.cs
- Forrás:
- ExportBuilder.cs
Megadja, hogy az exportálás a megadott szerződéstípust használja.
public:
generic <typename T>
System::ComponentModel::Composition::Registration::ExportBuilder ^ AsContractType();
public System.ComponentModel.Composition.Registration.ExportBuilder AsContractType<T>();
member this.AsContractType : unit -> System.ComponentModel.Composition.Registration.ExportBuilder
Public Function AsContractType(Of T) () As ExportBuilder
Típusparaméterek
- T
A használni kívánt szerződés típusa.
Válaszok
Az aktuális objektum a láncolás engedélyezéséhez.