InheritedExportAttribute Constructeurs

Définition

Initialise une nouvelle instance de la classe InheritedExportAttribute.

Surcharges

Nom Description
InheritedExportAttribute()

Initialise une nouvelle instance de la classe InheritedExportAttribute.

InheritedExportAttribute(String)

Initialise une nouvelle instance de la InheritedExportAttribute classe avec le nom de contrat spécifié.

InheritedExportAttribute(Type)

Initialise une nouvelle instance de la InheritedExportAttribute classe avec le type de contrat spécifié.

InheritedExportAttribute(String, Type)

Initialise une nouvelle instance de la InheritedExportAttribute classe avec le nom et le type de contrat spécifiés.

InheritedExportAttribute()

Source:
InheritedExportAttribute.cs
Source:
InheritedExportAttribute.cs
Source:
InheritedExportAttribute.cs
Source:
InheritedExportAttribute.cs

Initialise une nouvelle instance de la classe InheritedExportAttribute.

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

Remarques

Le nom de contrat par défaut est le résultat de l’appel AttributedModelServices.GetContractName(Type) sur le type lui-même marqué avec cet attribut.

Le nom du contrat est comparé à l’aide d’une comparaison respectant la casse et non linguistique à l’aide StringComparer.Ordinalde .

S’applique à

InheritedExportAttribute(String)

Source:
InheritedExportAttribute.cs
Source:
InheritedExportAttribute.cs
Source:
InheritedExportAttribute.cs
Source:
InheritedExportAttribute.cs

Initialise une nouvelle instance de la InheritedExportAttribute classe avec le nom de contrat spécifié.

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)

Paramètres

contractName
String

Nom du contrat.

Remarques

Le nom de contrat par défaut est le résultat de l’appel AttributedModelServices.GetContractName(Type) sur le type lui-même marqué avec cet attribut.

Le nom du contrat est comparé à l’aide d’une comparaison respectant la casse et non linguistique à l’aide StringComparer.Ordinalde .

S’applique à

InheritedExportAttribute(Type)

Source:
InheritedExportAttribute.cs
Source:
InheritedExportAttribute.cs
Source:
InheritedExportAttribute.cs
Source:
InheritedExportAttribute.cs

Initialise une nouvelle instance de la InheritedExportAttribute classe avec le type de contrat spécifié.

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)

Paramètres

contractType
Type

Type du contrat.

Remarques

Le nom du contrat est le résultat de l’appel AttributedModelServices.GetContractName(Type) sur contractType.

Le nom de contrat par défaut est le résultat de l’appel AttributedModelServices.GetContractName(Type) sur le type lui-même marqué avec cet attribut.

Le nom du contrat est comparé à l’aide d’une comparaison respectant la casse et non linguistique à l’aide StringComparer.Ordinalde .

S’applique à

InheritedExportAttribute(String, Type)

Source:
InheritedExportAttribute.cs
Source:
InheritedExportAttribute.cs
Source:
InheritedExportAttribute.cs
Source:
InheritedExportAttribute.cs

Initialise une nouvelle instance de la InheritedExportAttribute classe avec le nom et le type de contrat spécifiés.

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)

Paramètres

contractName
String

Nom du contrat.

contractType
Type

Type du contrat.

Remarques

Le nom de contrat par défaut est le résultat de l’appel AttributedModelServices.GetContractName(Type) sur le type lui-même marqué avec cet attribut.

Le nom du contrat est comparé à l’aide d’une comparaison respectant la casse et non linguistique à l’aide StringComparer.Ordinalde .

S’applique à