InheritedExportAttribute Konstruktory

Definice

Inicializuje novou instanci InheritedExportAttribute třídy.

Přetížení

Name Description
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 kontraktu a typem.

InheritedExportAttribute()

Zdroj:
InheritedExportAttribute.cs
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í rozlišování velkých a malých a malých písmen, nejazyčné porovnání pomocí StringComparer.Ordinal.

Platí pro

InheritedExportAttribute(String)

Zdroj:
InheritedExportAttribute.cs
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 smlouvy.

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í rozlišování velkých a malých a malých písmen, nejazyčné porovnání pomocí StringComparer.Ordinal.

Platí pro

InheritedExportAttribute(Type)

Zdroj:
InheritedExportAttribute.cs
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 smlouvy.

Poznámky

Název kontraktu je výsledkem volání AttributedModelServices.GetContractName(Type)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í rozlišování velkých a malých a malých písmen, nejazyčné porovnání pomocí StringComparer.Ordinal.

Platí pro

InheritedExportAttribute(String, Type)

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

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

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 smlouvy.

contractType
Type

Typ smlouvy.

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í rozlišování velkých a malých a malých písmen, nejazyčné porovnání pomocí StringComparer.Ordinal.

Platí pro