Edit

Share via


TypeMapAssociationAttribute<TTypeMapGroup>(Type, Type) Constructor

Definition

Initializes a new instance of 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)

Parameters

source
Type

The target type.

proxy
Type

The type to associate with source.

Remarks

This mapping will only exist in the type map if trimming observes an allocation using the Type represented by source.

Applies to