TypeMapAssociationAttribute<TTypeMapGroup>(Type, Type) Konstruktor

Definition

Initierar en ny instans av TypeMapAssociationAttribute<TTypeMapGroup>.

public:
 TypeMapAssociationAttribute(Type ^ source, Type ^ proxy);
public TypeMapAssociationAttribute(Type source, Type proxy);
new System.Runtime.InteropServices.TypeMapAssociationAttribute<'ypeMapGroup> : Type * Type -> System.Runtime.InteropServices.TypeMapAssociationAttribute<'ypeMapGroup>
Public Sub New (source As Type, proxy As Type)

Parametrar

source
Type

Måltypen.

proxy
Type

Den typ som ska associeras med source.

Kommentarer

Den här mappningen finns bara i typkartan om trimningen observerar en allokering med hjälp av den Type som representeras av source.

Gäller för