ForEachFromVarEnumerator.VariableName 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置要枚举的变量的名称。
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.IEnumerableSystem.Runtime.InteropServices.ComTypes.IEnumVARIANTSystem.ComponentModel IListSourceMicrosoft.SqlServer.Dts.Runtime.Wrapper.ForEachEnumeratorHost
通常会使用 Array 或 ArrayList。 如果使用 a ArrayList,则需要引用 System.Collections 命名空间。