MethodImplAttribute コンストラクター

定義

MethodImplAttribute クラスの新しいインスタンスを初期化します。

オーバーロード

MethodImplAttribute()

MethodImplAttribute クラスの新しいインスタンスを初期化します。

MethodImplAttribute(Int16)

指定した MethodImplOptions 値を使用して、MethodImplAttribute クラスの新しいインスタンスを初期化します。

MethodImplAttribute(MethodImplOptions)

指定した MethodImplOptions 値を使用して、MethodImplAttribute クラスの新しいインスタンスを初期化します。

MethodImplAttribute()

MethodImplAttribute クラスの新しいインスタンスを初期化します。

public:
 MethodImplAttribute();
public MethodImplAttribute ();
Public Sub New ()

適用対象

MethodImplAttribute(Int16)

指定した MethodImplOptions 値を使用して、MethodImplAttribute クラスの新しいインスタンスを初期化します。

public:
 MethodImplAttribute(short value);
public MethodImplAttribute (short value);
new System.Runtime.CompilerServices.MethodImplAttribute : int16 -> System.Runtime.CompilerServices.MethodImplAttribute
Public Sub New (value As Short)

パラメーター

value
Int16

属性付きメソッドのプロパティを指定する適切な MethodImplOptions 値を表すビットマスク。

適用対象

MethodImplAttribute(MethodImplOptions)

指定した MethodImplOptions 値を使用して、MethodImplAttribute クラスの新しいインスタンスを初期化します。

public:
 MethodImplAttribute(System::Runtime::CompilerServices::MethodImplOptions methodImplOptions);
public MethodImplAttribute (System.Runtime.CompilerServices.MethodImplOptions methodImplOptions);
new System.Runtime.CompilerServices.MethodImplAttribute : System.Runtime.CompilerServices.MethodImplOptions -> System.Runtime.CompilerServices.MethodImplAttribute
Public Sub New (methodImplOptions As MethodImplOptions)

パラメーター

methodImplOptions
MethodImplOptions

属性付きメソッドのプロパティを指定する MethodImplOptions 値。

注釈

このコンストラクターは、メタデータ テーブルの CorMethodImpl ビット フィールドを設定します。 これらのフラグの値は、 メソッドまたは ConstructorInfo.GetMethodImplementationFlags メソッドを呼び出すことで実行時にMethodInfo.GetMethodImplementationFlags取得できます。

こちらもご覧ください

適用対象