TypeMapAttribute<TTypeMapGroup> Конструкторы

Определение

Перегрузки

Имя Описание
TypeMapAttribute<TTypeMapGroup>(String, Type)

Инициализирует новый экземпляр .TypeMapAttribute<TTypeMapGroup>

TypeMapAttribute<TTypeMapGroup>(String, Type, Type)

Инициализирует новый экземпляр .TypeMapAttribute<TTypeMapGroup>

TypeMapAttribute<TTypeMapGroup>(String, Type)

Исходный код:
TypeMapAttribute.cs
Исходный код:
TypeMapAttribute.cs

Инициализирует новый экземпляр .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)

Параметры

value
String

Строковое представление ключа.

target
Type

Значение типа.

Комментарии

Это сопоставление безусловно вставляется в карту типов.

Применяется к

TypeMapAttribute<TTypeMapGroup>(String, Type, Type)

Исходный код:
TypeMapAttribute.cs
Исходный код:
TypeMapAttribute.cs

Инициализирует новый экземпляр .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)

Параметры

value
String

Строковое представление ключа.

target
Type

Значение типа.

trimTarget
Type

Тип, используемый триммером для определения включения карты типов.

Атрибуты

Комментарии

Это сопоставление включается только в карту типов, если обрезка наблюдает проверку типа с помощью Type представленного trimTarget.

Применяется к