CodeParameterDeclarationExpression コンストラクター

定義

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

オーバーロード

CodeParameterDeclarationExpression()

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

CodeParameterDeclarationExpression(CodeTypeReference, String)

パラメーター型とパラメーター名を指定して、CodeParameterDeclarationExpression クラスの新しいインスタンスを初期化します。

CodeParameterDeclarationExpression(String, String)

パラメーター型とパラメーター名を指定して、CodeParameterDeclarationExpression クラスの新しいインスタンスを初期化します。

CodeParameterDeclarationExpression(Type, String)

パラメーター型とパラメーター名を指定して、CodeParameterDeclarationExpression クラスの新しいインスタンスを初期化します。

CodeParameterDeclarationExpression()

ソース:
CodeParameterDeclarationExpression.cs
ソース:
CodeParameterDeclarationExpression.cs
ソース:
CodeParameterDeclarationExpression.cs

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

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

適用対象

CodeParameterDeclarationExpression(CodeTypeReference, String)

ソース:
CodeParameterDeclarationExpression.cs
ソース:
CodeParameterDeclarationExpression.cs
ソース:
CodeParameterDeclarationExpression.cs

パラメーター型とパラメーター名を指定して、CodeParameterDeclarationExpression クラスの新しいインスタンスを初期化します。

public:
 CodeParameterDeclarationExpression(System::CodeDom::CodeTypeReference ^ type, System::String ^ name);
public CodeParameterDeclarationExpression (System.CodeDom.CodeTypeReference type, string name);
new System.CodeDom.CodeParameterDeclarationExpression : System.CodeDom.CodeTypeReference * string -> System.CodeDom.CodeParameterDeclarationExpression
Public Sub New (type As CodeTypeReference, name As String)

パラメーター

type
CodeTypeReference

宣言するパラメーターの型を示すオブジェクト。

name
String

宣言するパラメーターの名前。

適用対象

CodeParameterDeclarationExpression(String, String)

ソース:
CodeParameterDeclarationExpression.cs
ソース:
CodeParameterDeclarationExpression.cs
ソース:
CodeParameterDeclarationExpression.cs

パラメーター型とパラメーター名を指定して、CodeParameterDeclarationExpression クラスの新しいインスタンスを初期化します。

public:
 CodeParameterDeclarationExpression(System::String ^ type, System::String ^ name);
public CodeParameterDeclarationExpression (string type, string name);
new System.CodeDom.CodeParameterDeclarationExpression : string * string -> System.CodeDom.CodeParameterDeclarationExpression
Public Sub New (type As String, name As String)

パラメーター

type
String

宣言するパラメーターの型。

name
String

宣言するパラメーターの名前。

注釈

パラメーターが type ジェネリック型を参照する場合は、ジェネリック型の構文規則に従う必要があります。 ジェネリック型は、型の名前、続いてグレーブ アクセント ("'")、ジェネリック型引数のカウント、角かっこで区切られたパラメーターの順に書式設定されます。

注意

ジェネリック パラメーターを区切る場合は、C# 山かっこ () ではなく角かっこ (<>[]) を使用する必要があります。

構文上の誤りが発生しないようにするには、文字列の代わりに型を CodeParameterDeclarationExpression(Type, String) パラメーターとして受け取るコンストラクターを使用することを検討してください。

適用対象

CodeParameterDeclarationExpression(Type, String)

ソース:
CodeParameterDeclarationExpression.cs
ソース:
CodeParameterDeclarationExpression.cs
ソース:
CodeParameterDeclarationExpression.cs

パラメーター型とパラメーター名を指定して、CodeParameterDeclarationExpression クラスの新しいインスタンスを初期化します。

public:
 CodeParameterDeclarationExpression(Type ^ type, System::String ^ name);
public CodeParameterDeclarationExpression (Type type, string name);
new System.CodeDom.CodeParameterDeclarationExpression : Type * string -> System.CodeDom.CodeParameterDeclarationExpression
Public Sub New (type As Type, name As String)

パラメーター

type
Type

宣言するパラメーターの型。

name
String

宣言するパラメーターの名前。

適用対象