TypeMapAttribute<TTypeMapGroup> コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| 名前 | 説明 |
|---|---|
| TypeMapAttribute<TTypeMapGroup>(String, Type) |
TypeMapAttribute<TTypeMapGroup>の新しいインスタンスを初期化します。 |
| TypeMapAttribute<TTypeMapGroup>(String, Type, Type) |
TypeMapAttribute<TTypeMapGroup>の新しいインスタンスを初期化します。 |
TypeMapAttribute<TTypeMapGroup>(String, Type)
TypeMapAttribute<TTypeMapGroup>の新しいインスタンスを初期化します。
public:
TypeMapAttribute(System::String ^ value, Type ^ target);
public TypeMapAttribute(string value, Type target);
new System.Runtime.InteropServices.TypeMapAttribute<'ypeMapGroup> : string * Type -> System.Runtime.InteropServices.TypeMapAttribute<'ypeMapGroup>
Public Sub New (value As String, target As Type)
パラメーター
- value
- String
キーの文字列形式。
- target
- Type
型の値。
注釈
このマッピングは無条件に型マップに挿入されます。
適用対象
TypeMapAttribute<TTypeMapGroup>(String, Type, Type)
TypeMapAttribute<TTypeMapGroup>の新しいインスタンスを初期化します。
public:
TypeMapAttribute(System::String ^ value, Type ^ target, Type ^ trimTarget);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Interop types may be removed by trimming")]
public TypeMapAttribute(string value, Type target, Type trimTarget);
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Interop types may be removed by trimming")>]
new System.Runtime.InteropServices.TypeMapAttribute<'ypeMapGroup> : string * Type * Type -> System.Runtime.InteropServices.TypeMapAttribute<'ypeMapGroup>
Public Sub New (value As String, target As Type, trimTarget As Type)
パラメーター
- value
- String
キーの文字列表現。
- target
- Type
型の値。
- trimTarget
- Type
型マップの包含を決定するためにトリマーによって使用される型。
- 属性
注釈
このマッピングは、トリミングでtrimTargetで表されるTypeを使用して型チェックが観察された場合にのみ、型マップに含まれます。