TypeMapAttribute<TTypeMapGroup> Konstruktorer
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Överlagringar
| Name | Description |
|---|---|
| TypeMapAttribute<TTypeMapGroup>(String, Type) |
Initierar en ny instans av TypeMapAttribute<TTypeMapGroup>. |
| TypeMapAttribute<TTypeMapGroup>(String, Type, Type) |
Initierar en ny instans av TypeMapAttribute<TTypeMapGroup>. |
TypeMapAttribute<TTypeMapGroup>(String, Type)
- Källa:
- TypeMapAttribute.cs
- Källa:
- TypeMapAttribute.cs
Initierar en ny instans av 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)
Parametrar
- value
- String
Strängrepresentationen av nyckeln.
- target
- Type
Typvärdet.
Kommentarer
Den här mappningen infogas villkorslöst i typkartan.
Gäller för
TypeMapAttribute<TTypeMapGroup>(String, Type, Type)
- Källa:
- TypeMapAttribute.cs
- Källa:
- TypeMapAttribute.cs
Initierar en ny instans av 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)
Parametrar
- value
- String
Strängrepresentationen av nyckeln.
- target
- Type
Typvärdet.
- trimTarget
- Type
Den typ som används av trimmern för att fastställa typ av kartinkludering.
- Attribut
Kommentarer
Den här mappningen ingår endast i typkartan om trimningen observerar en typkontroll med hjälp av den Type som representeras av trimTarget.