InheritedExportAttribute Konstruktoren

Definition

Initialisiert eine neue Instanz der InheritedExportAttribute-Klasse.

Überlädt

Name Beschreibung
InheritedExportAttribute()

Initialisiert eine neue Instanz der InheritedExportAttribute-Klasse.

InheritedExportAttribute(String)

Initialisiert eine neue Instanz der InheritedExportAttribute Klasse mit dem angegebenen Vertragsnamen.

InheritedExportAttribute(Type)

Initialisiert eine neue Instanz der InheritedExportAttribute Klasse mit dem angegebenen Vertragstyp.

InheritedExportAttribute(String, Type)

Initialisiert eine neue Instanz der InheritedExportAttribute Klasse mit dem angegebenen Vertragsnamen und -typ.

InheritedExportAttribute()

Quelle:
InheritedExportAttribute.cs
Quelle:
InheritedExportAttribute.cs
Quelle:
InheritedExportAttribute.cs
Quelle:
InheritedExportAttribute.cs

Initialisiert eine neue Instanz der InheritedExportAttribute-Klasse.

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

Hinweise

Der Standardvertragsname ist das Ergebnis des Aufrufs AttributedModelServices.GetContractName(Type) des Typs selbst, der mit diesem Attribut gekennzeichnet ist.

Der Vertragsname wird mithilfe eines nicht sprachlichen Vergleichs zwischen StringComparer.OrdinalGroß- und Kleinschreibung verglichen.

Gilt für:

InheritedExportAttribute(String)

Quelle:
InheritedExportAttribute.cs
Quelle:
InheritedExportAttribute.cs
Quelle:
InheritedExportAttribute.cs
Quelle:
InheritedExportAttribute.cs

Initialisiert eine neue Instanz der InheritedExportAttribute Klasse mit dem angegebenen Vertragsnamen.

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)

Parameter

contractName
String

Der Name des Vertrags.

Hinweise

Der Standardvertragsname ist das Ergebnis des Aufrufs AttributedModelServices.GetContractName(Type) des Typs selbst, der mit diesem Attribut gekennzeichnet ist.

Der Vertragsname wird mithilfe eines nicht sprachlichen Vergleichs zwischen StringComparer.OrdinalGroß- und Kleinschreibung verglichen.

Gilt für:

InheritedExportAttribute(Type)

Quelle:
InheritedExportAttribute.cs
Quelle:
InheritedExportAttribute.cs
Quelle:
InheritedExportAttribute.cs
Quelle:
InheritedExportAttribute.cs

Initialisiert eine neue Instanz der InheritedExportAttribute Klasse mit dem angegebenen Vertragstyp.

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)

Parameter

contractType
Type

Der Vertragstyp.

Hinweise

Der Vertragsname ist das Ergebnis eines Aufrufs AttributedModelServices.GetContractName(Type)contractType.

Der Standardvertragsname ist das Ergebnis des Aufrufs AttributedModelServices.GetContractName(Type) des Typs selbst, der mit diesem Attribut gekennzeichnet ist.

Der Vertragsname wird mithilfe eines nicht sprachlichen Vergleichs zwischen StringComparer.OrdinalGroß- und Kleinschreibung verglichen.

Gilt für:

InheritedExportAttribute(String, Type)

Quelle:
InheritedExportAttribute.cs
Quelle:
InheritedExportAttribute.cs
Quelle:
InheritedExportAttribute.cs
Quelle:
InheritedExportAttribute.cs

Initialisiert eine neue Instanz der InheritedExportAttribute Klasse mit dem angegebenen Vertragsnamen und -typ.

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)

Parameter

contractName
String

Der Name des Vertrags.

contractType
Type

Der Vertragstyp.

Hinweise

Der Standardvertragsname ist das Ergebnis des Aufrufs AttributedModelServices.GetContractName(Type) des Typs selbst, der mit diesem Attribut gekennzeichnet ist.

Der Vertragsname wird mithilfe eines nicht sprachlichen Vergleichs zwischen StringComparer.OrdinalGroß- und Kleinschreibung verglichen.

Gilt für: