語言

TypeMapAssociationAttribute<TTypeMapGroup>(Type, Type) 建構函式

定義

初始化 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)

參數

source
Type

目標類型。

proxy
Type

這種類型值得與 source之交往。

備註

只有當修剪觀察到使用以 source表示的Type配置時,這種映射才會出現在型態映射中。

適用於