TypeMapAssociationAttribute<TTypeMapGroup>(Type, Type) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.