Sdílet prostřednictvím


InheritedExportAttribute Konstruktory

Definice

Inicializuje novou instanci InheritedExportAttribute třídy .

Přetížení

InheritedExportAttribute()

Inicializuje novou instanci InheritedExportAttribute třídy .

InheritedExportAttribute(String)

Inicializuje novou instanci InheritedExportAttribute třídy se zadaným názvem kontraktu.

InheritedExportAttribute(Type)

Inicializuje novou instanci InheritedExportAttribute třídy se zadaným typem kontraktu.

InheritedExportAttribute(String, Type)

Inicializuje novou instanci InheritedExportAttribute třídy se zadaným názvem a typem kontraktu.

InheritedExportAttribute()

Zdroj:
InheritedExportAttribute.cs
Zdroj:
InheritedExportAttribute.cs
Zdroj:
InheritedExportAttribute.cs

Inicializuje novou instanci InheritedExportAttribute třídy .

public:
 InheritedExportAttribute();
public InheritedExportAttribute ();
Public Sub New ()

Poznámky

Výchozí název kontraktu je výsledkem volání AttributedModelServices.GetContractName(Type) samotného typu, který je označen tímto atributem.

Název kontraktu se porovnává pomocí jazykového porovnání s rozlišováním velkých a malých písmen pomocí StringComparer.Ordinal.

Platí pro

InheritedExportAttribute(String)

Zdroj:
InheritedExportAttribute.cs
Zdroj:
InheritedExportAttribute.cs
Zdroj:
InheritedExportAttribute.cs

Inicializuje novou instanci InheritedExportAttribute třídy se zadaným názvem kontraktu.

public:
 InheritedExportAttribute(System::String ^ contractName);
public InheritedExportAttribute (string contractName);
public InheritedExportAttribute (string? contractName);
new System.ComponentModel.Composition.InheritedExportAttribute : string -> System.ComponentModel.Composition.InheritedExportAttribute
Public Sub New (contractName As String)

Parametry

contractName
String

Název kontraktu.

Poznámky

Výchozí název kontraktu je výsledkem volání AttributedModelServices.GetContractName(Type) samotného typu, který je označen tímto atributem.

Název kontraktu se porovnává pomocí jazykového porovnání s rozlišováním velkých a malých písmen pomocí StringComparer.Ordinal.

Platí pro

InheritedExportAttribute(Type)

Zdroj:
InheritedExportAttribute.cs
Zdroj:
InheritedExportAttribute.cs
Zdroj:
InheritedExportAttribute.cs

Inicializuje novou instanci InheritedExportAttribute třídy se zadaným typem kontraktu.

public:
 InheritedExportAttribute(Type ^ contractType);
public InheritedExportAttribute (Type contractType);
public InheritedExportAttribute (Type? contractType);
new System.ComponentModel.Composition.InheritedExportAttribute : Type -> System.ComponentModel.Composition.InheritedExportAttribute
Public Sub New (contractType As Type)

Parametry

contractType
Type

Typ kontraktu.

Poznámky

Název kontraktu je výsledkem volání AttributedModelServices.GetContractName(Type) na contractType.

Výchozí název kontraktu je výsledkem volání AttributedModelServices.GetContractName(Type) samotného typu, který je označen tímto atributem.

Název kontraktu se porovnává pomocí jazykového porovnání s rozlišováním velkých a malých písmen pomocí StringComparer.Ordinal.

Platí pro

InheritedExportAttribute(String, Type)

Zdroj:
InheritedExportAttribute.cs
Zdroj:
InheritedExportAttribute.cs
Zdroj:
InheritedExportAttribute.cs

Inicializuje novou instanci InheritedExportAttribute třídy se zadaným názvem a typem kontraktu.

public:
 InheritedExportAttribute(System::String ^ contractName, Type ^ contractType);
public InheritedExportAttribute (string contractName, Type contractType);
public InheritedExportAttribute (string? contractName, Type? contractType);
new System.ComponentModel.Composition.InheritedExportAttribute : string * Type -> System.ComponentModel.Composition.InheritedExportAttribute
Public Sub New (contractName As String, contractType As Type)

Parametry

contractName
String

Název kontraktu.

contractType
Type

Typ kontraktu.

Poznámky

Výchozí název kontraktu je výsledkem volání AttributedModelServices.GetContractName(Type) samotného typu, který je označen tímto atributem.

Název kontraktu se porovnává pomocí jazykového porovnání s rozlišováním velkých a malých písmen pomocí StringComparer.Ordinal.

Platí pro