_Assembly.GetCustomAttributes メソッド

定義

GetCustomAttributes メソッドへのバージョンに依存しないアクセス権を持つ COM オブジェクトを提供します。

オーバーロード

名前 説明
GetCustomAttributes(Type, Boolean)

GetCustomAttributes(Type, Boolean) メソッドへのバージョンに依存しないアクセス権を持つ COM オブジェクトを提供します。

GetCustomAttributes(Boolean)

GetCustomAttributes(Boolean) メソッドへのバージョンに依存しないアクセス権を持つ COM オブジェクトを提供します。

注釈

このメソッドは、アンマネージ コードからマネージド クラスにアクセスするためのメソッドであり、マネージド コードから呼び出さないでください。

GetCustomAttributes メソッドは、このアセンブリのカスタム属性を取得します。

GetCustomAttributes(Type, Boolean)

GetCustomAttributes(Type, Boolean) メソッドへのバージョンに依存しないアクセス権を持つ COM オブジェクトを提供します。

public:
 cli::array <System::Object ^> ^ GetCustomAttributes(Type ^ attributeType, bool inherit);
public object[] GetCustomAttributes(Type attributeType, bool inherit);
abstract member GetCustomAttributes : Type * bool -> obj[]
Public Function GetCustomAttributes (attributeType As Type, inherit As Boolean) As Object()

パラメーター

attributeType
Type

カスタム属性が返される Type

inherit
Boolean

この引数は、 Assembly型のオブジェクトでは無視されます。

返品

Object[]

attributeTypeで指定された、このアセンブリのカスタム属性を含むObject型の配列。

注釈

このメソッドは、アンマネージ コードからマネージド クラスにアクセスするためのメソッドであり、マネージド コードから呼び出さないでください。

GetCustomAttributes メソッドは、このアセンブリのすべてのカスタム属性を取得します。

こちらもご覧ください

適用対象

GetCustomAttributes(Boolean)

GetCustomAttributes(Boolean) メソッドへのバージョンに依存しないアクセス権を持つ COM オブジェクトを提供します。

public:
 cli::array <System::Object ^> ^ GetCustomAttributes(bool inherit);
public object[] GetCustomAttributes(bool inherit);
abstract member GetCustomAttributes : bool -> obj[]
Public Function GetCustomAttributes (inherit As Boolean) As Object()

パラメーター

inherit
Boolean

この引数は、 Assembly型のオブジェクトでは無視されます。

返品

Object[]

このアセンブリのカスタム属性を含む Object 型の配列。

注釈

このメソッドは、アンマネージ コードからマネージド クラスにアクセスするためのメソッドであり、マネージド コードから呼び出さないでください。

GetCustomAttributes メソッドは、このアセンブリのすべてのカスタム属性を取得します。

こちらもご覧ください

適用対象