TypeMapAssociationAttribute<TTypeMapGroup>(Type, Type) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 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配置時,這種映射才會出現在型態映射中。