Partager via


InheritedExportAttribute Constructeurs

Définition

Initialise une nouvelle instance de la classe InheritedExportAttribute.

Surcharges

InheritedExportAttribute()

Initialise une nouvelle instance de la classe InheritedExportAttribute.

InheritedExportAttribute(String)

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

InheritedExportAttribute(Type)

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

InheritedExportAttribute(String, Type)

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

InheritedExportAttribute()

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) du type lui-même marqué avec cet attribut.

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

S’applique à

InheritedExportAttribute(String)

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

Initialise une nouvelle instance de la classe InheritedExportAttribute 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) du type lui-même marqué avec cet attribut.

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

S’applique à

InheritedExportAttribute(Type)

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

Initialise une nouvelle instance de la classe InheritedExportAttribute 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) de sur contractType.

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

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

S’applique à

InheritedExportAttribute(String, Type)

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

Initialise une nouvelle instance de la classe InheritedExportAttribute avec le type et le nom 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) du type lui-même marqué avec cet attribut.

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

S’applique à