TypeMapAttribute<TTypeMapGroup> Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| Nom | Description |
|---|---|
| TypeMapAttribute<TTypeMapGroup>(String, Type) |
Initialise une nouvelle instance de TypeMapAttribute<TTypeMapGroup>. |
| TypeMapAttribute<TTypeMapGroup>(String, Type, Type) |
Initialise une nouvelle instance de TypeMapAttribute<TTypeMapGroup>. |
TypeMapAttribute<TTypeMapGroup>(String, Type)
- Source:
- TypeMapAttribute.cs
- Source:
- TypeMapAttribute.cs
Initialise une nouvelle instance de TypeMapAttribute<TTypeMapGroup>.
public:
TypeMapAttribute(System::String ^ value, Type ^ target);
public TypeMapAttribute(string value, Type target);
new System.Runtime.InteropServices.TypeMapAttribute<'ypeMapGroup> : string * Type -> System.Runtime.InteropServices.TypeMapAttribute<'ypeMapGroup>
Public Sub New (value As String, target As Type)
Paramètres
- value
- String
Représentation sous forme de chaîne de la clé.
- target
- Type
Valeur de type.
Remarques
Ce mappage est inséré de manière inconditionnelle dans la carte de type.
S’applique à
TypeMapAttribute<TTypeMapGroup>(String, Type, Type)
- Source:
- TypeMapAttribute.cs
- Source:
- TypeMapAttribute.cs
Initialise une nouvelle instance de TypeMapAttribute<TTypeMapGroup>.
public:
TypeMapAttribute(System::String ^ value, Type ^ target, Type ^ trimTarget);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Interop types may be removed by trimming")]
public TypeMapAttribute(string value, Type target, Type trimTarget);
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Interop types may be removed by trimming")>]
new System.Runtime.InteropServices.TypeMapAttribute<'ypeMapGroup> : string * Type * Type -> System.Runtime.InteropServices.TypeMapAttribute<'ypeMapGroup>
Public Sub New (value As String, target As Type, trimTarget As Type)
Paramètres
- value
- String
Représentation sous forme de chaîne de clé.
- target
- Type
Valeur de type.
- trimTarget
- Type
Type utilisé par le découpage pour déterminer l’inclusion de carte de type.
- Attributs
Remarques
Ce mappage n’est inclus dans le mappage de types que si le découpage observe une vérification de type à l’aide de l’élément Type représenté par trimTarget.