ForEachFromVarEnumerator.VariableName プロパティ

定義

列挙する変数の名前を取得するか設定します。

public:
 property System::String ^ VariableName { System::String ^ get(); void set(System::String ^ value); };
public string VariableName { get; set; }
member this.VariableName : string with get, set
Public Property VariableName As String

プロパティ値

列挙する変数の名前を含む文字列です。

実装

注釈

変数列挙器のForeachで使う変数は Object型でなければなりません。 変数に入れるオブジェクトは、以下のいずれかのインターフェースを実装しなければなりません。

  • System.Collections.IEnumerable

  • System.Runtime.InteropServices.ComTypes.IEnumVARIANT

  • System.ComponentModel IListSource

  • Microsoft.SqlServer.Dts.Runtime.Wrapper.ForEachEnumeratorHost

一般的には、 ArrayArrayList が使われます。 ArrayListを使う場合は、System.Collections名前空間を参照する必要があります。

適用対象