TypeMapAttribute<TTypeMapGroup> Construtores

Definição

Sobrecargas

TypeMapAttribute<TTypeMapGroup>(String, Type)

Origem:
TypeMapAttribute.cs
Origem:
TypeMapAttribute.cs

Inicializa uma nova instância 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)

Parâmetros

value
String

A representação da corda da chave.

target
Type

O valor tipo.

Observações

Este mapeamento é inserido incondicionalmente no mapa de tipos.

Aplica-se a

TypeMapAttribute<TTypeMapGroup>(String, Type, Type)

Origem:
TypeMapAttribute.cs
Origem:
TypeMapAttribute.cs

Inicializa uma nova instância 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)

Parâmetros

value
String

A representação da corda da tonalidade.

target
Type

O valor tipo.

trimTarget
Type

O tipo usado pelo aparador para determinar a inclusão do mapa de tipos.

Atributos

Observações

Este mapeamento só é incluído no mapa de tipos se o corte observar uma verificação de tipo usando o Type representado por trimTarget.

Aplica-se a