InheritedExportAttribute Konstruktorer

Definition

Initierar en ny instans av InheritedExportAttribute klassen.

Överlagringar

Name Description
InheritedExportAttribute()

Initierar en ny instans av InheritedExportAttribute klassen.

InheritedExportAttribute(String)

Initierar en ny instans av InheritedExportAttribute klassen med det angivna kontraktsnamnet.

InheritedExportAttribute(Type)

Initierar en ny instans av InheritedExportAttribute klassen med den angivna kontraktstypen.

InheritedExportAttribute(String, Type)

Initierar en ny instans av InheritedExportAttribute klassen med det angivna kontraktsnamnet och typen.

InheritedExportAttribute()

Källa:
InheritedExportAttribute.cs
Källa:
InheritedExportAttribute.cs
Källa:
InheritedExportAttribute.cs
Källa:
InheritedExportAttribute.cs

Initierar en ny instans av InheritedExportAttribute klassen.

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

Kommentarer

Standardkontraktnamnet är resultatet av att anropa AttributedModelServices.GetContractName(Type) den typ som är markerad med det här attributet.

Kontraktsnamnet jämförs med en skiftlägeskänslig, icke-språklig jämförelse med .StringComparer.Ordinal

Gäller för

InheritedExportAttribute(String)

Källa:
InheritedExportAttribute.cs
Källa:
InheritedExportAttribute.cs
Källa:
InheritedExportAttribute.cs
Källa:
InheritedExportAttribute.cs

Initierar en ny instans av InheritedExportAttribute klassen med det angivna kontraktsnamnet.

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)

Parametrar

contractName
String

Namnet på kontraktet.

Kommentarer

Standardkontraktnamnet är resultatet av att anropa AttributedModelServices.GetContractName(Type) på själva typen som detta är markerat med det här attributet.

Kontraktsnamnet jämförs med en skiftlägeskänslig, icke-språklig jämförelse med .StringComparer.Ordinal

Gäller för

InheritedExportAttribute(Type)

Källa:
InheritedExportAttribute.cs
Källa:
InheritedExportAttribute.cs
Källa:
InheritedExportAttribute.cs
Källa:
InheritedExportAttribute.cs

Initierar en ny instans av InheritedExportAttribute klassen med den angivna kontraktstypen.

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)

Parametrar

contractType
Type

Typ av kontrakt.

Kommentarer

Kontraktsnamnet är resultatet av att anropa AttributedModelServices.GetContractName(Type)contractType.

Standardkontraktnamnet är resultatet av att anropa AttributedModelServices.GetContractName(Type) den typ som är markerad med det här attributet.

Kontraktsnamnet jämförs med en skiftlägeskänslig, icke-språklig jämförelse med .StringComparer.Ordinal

Gäller för

InheritedExportAttribute(String, Type)

Källa:
InheritedExportAttribute.cs
Källa:
InheritedExportAttribute.cs
Källa:
InheritedExportAttribute.cs
Källa:
InheritedExportAttribute.cs

Initierar en ny instans av InheritedExportAttribute klassen med det angivna kontraktsnamnet och typen.

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)

Parametrar

contractName
String

Namnet på kontraktet.

contractType
Type

Typ av kontrakt.

Kommentarer

Standardkontraktnamnet är resultatet av att anropa AttributedModelServices.GetContractName(Type) på själva typen som detta är markerat med det här attributet.

Kontraktsnamnet jämförs med en skiftlägeskänslig, icke-språklig jämförelse med .StringComparer.Ordinal

Gäller för