CodeAttributeDeclaration コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
CodeAttributeDeclaration クラスの新しいインスタンスを初期化します。
オーバーロード
| 名前 | 説明 |
|---|---|
| CodeAttributeDeclaration() |
CodeAttributeDeclaration クラスの新しいインスタンスを初期化します。 |
| CodeAttributeDeclaration(CodeTypeReference) |
指定したコード型参照を使用して、 CodeAttributeDeclaration クラスの新しいインスタンスを初期化します。 |
| CodeAttributeDeclaration(String) |
指定した名前を使用して、 CodeAttributeDeclaration クラスの新しいインスタンスを初期化します。 |
| CodeAttributeDeclaration(CodeTypeReference, CodeAttributeArgument[]) |
指定したコード型参照と引数を使用して、 CodeAttributeDeclaration クラスの新しいインスタンスを初期化します。 |
| CodeAttributeDeclaration(String, CodeAttributeArgument[]) |
指定した名前と引数を使用して、 CodeAttributeDeclaration クラスの新しいインスタンスを初期化します。 |
CodeAttributeDeclaration()
CodeAttributeDeclaration クラスの新しいインスタンスを初期化します。
public:
CodeAttributeDeclaration();
public CodeAttributeDeclaration();
Public Sub New ()
適用対象
CodeAttributeDeclaration(CodeTypeReference)
指定したコード型参照を使用して、 CodeAttributeDeclaration クラスの新しいインスタンスを初期化します。
public:
CodeAttributeDeclaration(System::CodeDom::CodeTypeReference ^ attributeType);
public CodeAttributeDeclaration(System.CodeDom.CodeTypeReference attributeType);
new System.CodeDom.CodeAttributeDeclaration : System.CodeDom.CodeTypeReference -> System.CodeDom.CodeAttributeDeclaration
Public Sub New (attributeType As CodeTypeReference)
パラメーター
- attributeType
- CodeTypeReference
属性を識別する CodeTypeReference 。
注釈
attributeType パラメーターは、AttributeTypeプロパティとNameプロパティを設定するために使用されます。
こちらもご覧ください
適用対象
CodeAttributeDeclaration(String)
指定した名前を使用して、 CodeAttributeDeclaration クラスの新しいインスタンスを初期化します。
public:
CodeAttributeDeclaration(System::String ^ name);
public CodeAttributeDeclaration(string name);
new System.CodeDom.CodeAttributeDeclaration : string -> System.CodeDom.CodeAttributeDeclaration
Public Sub New (name As String)
パラメーター
- name
- String
属性の名前。
適用対象
CodeAttributeDeclaration(CodeTypeReference, CodeAttributeArgument[])
指定したコード型参照と引数を使用して、 CodeAttributeDeclaration クラスの新しいインスタンスを初期化します。
public:
CodeAttributeDeclaration(System::CodeDom::CodeTypeReference ^ attributeType, ... cli::array <System::CodeDom::CodeAttributeArgument ^> ^ arguments);
public CodeAttributeDeclaration(System.CodeDom.CodeTypeReference attributeType, params System.CodeDom.CodeAttributeArgument[] arguments);
new System.CodeDom.CodeAttributeDeclaration : System.CodeDom.CodeTypeReference * System.CodeDom.CodeAttributeArgument[] -> System.CodeDom.CodeAttributeDeclaration
Public Sub New (attributeType As CodeTypeReference, ParamArray arguments As CodeAttributeArgument())
パラメーター
- attributeType
- CodeTypeReference
属性を識別する CodeTypeReference 。
- arguments
- CodeAttributeArgument[]
属性の引数を含む CodeAttributeArgument 型の配列。
注釈
attributeType パラメーターを使用してAttributeTypeプロパティとNameプロパティを設定し、arguments パラメーターを使用してCodeAttributeDeclarationのArguments プロパティを設定します。
こちらもご覧ください
適用対象
CodeAttributeDeclaration(String, CodeAttributeArgument[])
指定した名前と引数を使用して、 CodeAttributeDeclaration クラスの新しいインスタンスを初期化します。
public:
CodeAttributeDeclaration(System::String ^ name, ... cli::array <System::CodeDom::CodeAttributeArgument ^> ^ arguments);
public CodeAttributeDeclaration(string name, params System.CodeDom.CodeAttributeArgument[] arguments);
new System.CodeDom.CodeAttributeDeclaration : string * System.CodeDom.CodeAttributeArgument[] -> System.CodeDom.CodeAttributeDeclaration
Public Sub New (name As String, ParamArray arguments As CodeAttributeArgument())
パラメーター
- name
- String
属性の名前。
- arguments
- CodeAttributeArgument[]
属性の引数を含む CodeAttributeArgument 型の配列。