_Assembly.GetCustomAttributes メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
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で指定された、このアセンブリのカスタム属性を含む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()
パラメーター
返品
このアセンブリのカスタム属性を含む Object 型の配列。
注釈
このメソッドは、アンマネージ コードからマネージド クラスにアクセスするためのメソッドであり、マネージド コードから呼び出さないでください。
GetCustomAttributes メソッドは、このアセンブリのすべてのカスタム属性を取得します。