指定した CodeParameterDeclarationExpression をコレクション内の指定したインデックスの位置に挿入します。
Public Sub Insert( _
ByVal index As Integer, _ ByVal value As CodeParameterDeclarationExpression _)
[C#]
public void Insert(intindex,CodeParameterDeclarationExpressionvalue);
[C++]
public: void Insert(intindex,CodeParameterDeclarationExpression* value);
[JScript]
public function Insert(
index : int,value : CodeParameterDeclarationExpression);
パラメータ
- index
指定したオブジェクトの挿入位置を示す、0 から始まるインデックス。 - value
挿入する CodeParameterDeclarationExpression 。
使用例
' Inserts a CodeParameterDeclarationExpression at index 0
' of the collection.
collection.Insert(0, New CodeParameterDeclarationExpression(GetType(Integer), "testIntArgument"))
[C#]
// Inserts a CodeParameterDeclarationExpression at index 0
// of the collection.
collection.Insert( 0, new CodeParameterDeclarationExpression(typeof(int), "testIntArgument") );
[C++]
// Inserts a CodeParameterDeclarationExpression at index 0
// of the collection.
collection->Insert( 0, new CodeParameterDeclarationExpression(__typeof(int), S"testIntArgument") );
[JScript] JScript のサンプルはありません。Visual Basic、C#、および C++ のサンプルを表示するには、このページの左上隅にある言語のフィルタ ボタン をクリックします。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
CodeParameterDeclarationExpressionCollection クラス | CodeParameterDeclarationExpressionCollection メンバ | System.CodeDom 名前空間 | Add