TypeMapAttribute<TTypeMapGroup> コンストラクター

定義

オーバーロード

名前 説明
TypeMapAttribute<TTypeMapGroup>(String, Type)

TypeMapAttribute<TTypeMapGroup>の新しいインスタンスを初期化します。

TypeMapAttribute<TTypeMapGroup>(String, Type, Type)

TypeMapAttribute<TTypeMapGroup>の新しいインスタンスを初期化します。

TypeMapAttribute<TTypeMapGroup>(String, Type)

ソース:
TypeMapAttribute.cs
ソース:
TypeMapAttribute.cs

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.cs
ソース:
TypeMapAttribute.cs

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を使用して型チェックが観察された場合にのみ、型マップに含まれます。

適用対象