TypeMapAttribute<TTypeMapGroup> Konstruktory
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
| Nazwa | Opis |
|---|---|
| TypeMapAttribute<TTypeMapGroup>(String, Type) |
Inicjuje nowe wystąpienie klasy TypeMapAttribute<TTypeMapGroup>. |
| TypeMapAttribute<TTypeMapGroup>(String, Type, Type) |
Inicjuje nowe wystąpienie klasy TypeMapAttribute<TTypeMapGroup>. |
TypeMapAttribute<TTypeMapGroup>(String, Type)
- Źródło:
- TypeMapAttribute.cs
- Źródło:
- TypeMapAttribute.cs
Inicjuje nowe wystąpienie klasy 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)
Parametry
- value
- String
Reprezentacja ciągu klucza.
- target
- Type
Wartość typu.
Uwagi
To mapowanie jest bezwarunkowo wstawione do mapy typów.
Dotyczy
TypeMapAttribute<TTypeMapGroup>(String, Type, Type)
- Źródło:
- TypeMapAttribute.cs
- Źródło:
- TypeMapAttribute.cs
Inicjuje nowe wystąpienie klasy 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)
Parametry
- value
- String
Reprezentacja ciągu klucza.
- target
- Type
Wartość typu.
- trimTarget
- Type
Typ używany przez trimmer do określania dołączania mapy typu.
- Atrybuty
Uwagi
To mapowanie jest uwzględniane tylko w mapie typów, jeśli przycinanie obserwuje sprawdzanie typu przy użyciu elementu reprezentowanego Type przez trimTarget.