TypeMapAttribute<TTypeMapGroup> Costruttori
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
| Nome | Descrizione |
|---|---|
| TypeMapAttribute<TTypeMapGroup>(String, Type) |
Inizializza una nuova istanza di TypeMapAttribute<TTypeMapGroup>. |
| TypeMapAttribute<TTypeMapGroup>(String, Type, Type) |
Inizializza una nuova istanza di TypeMapAttribute<TTypeMapGroup>. |
TypeMapAttribute<TTypeMapGroup>(String, Type)
- Origine:
- TypeMapAttribute.cs
- Origine:
- TypeMapAttribute.cs
Inizializza una nuova istanza di 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)
Parametri
- value
- String
Rappresentazione di stringa della chiave.
- target
- Type
Valore del tipo.
Commenti
Questo mapping viene inserito in modo incondizionato nella mappa dei tipi.
Si applica a
TypeMapAttribute<TTypeMapGroup>(String, Type, Type)
- Origine:
- TypeMapAttribute.cs
- Origine:
- TypeMapAttribute.cs
Inizializza una nuova istanza di 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)
Parametri
- value
- String
Rappresentazione di stringa della chiave.
- target
- Type
Valore del tipo.
- trimTarget
- Type
Tipo utilizzato dal trimmer per determinare l'inclusione della mappa dei tipi.
- Attributi
Commenti
Questo mapping è incluso nella mappa dei tipi solo se il taglio osserva un controllo del tipo usando l'oggetto Type rappresentato da trimTarget.