IDTSFriendlyEnumCollection100 接口

定义

包含 IDTSFriendlyEnum100 对象的集合。

public interface class IDTSFriendlyEnumCollection100 : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("F754146D-79CA-4EE5-8024-23C835FB143B")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
public interface IDTSFriendlyEnumCollection100 : System.Collections.IEnumerable
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
[System.Runtime.InteropServices.Guid("0992C731-3097-4570-BB0F-DC53CCFD9D96")]
public interface IDTSFriendlyEnumCollection100 : System.Collections.IEnumerable
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
[System.Runtime.InteropServices.Guid("188AC04F-8D1A-4A1D-9B7F-B0075E5501D7")]
public interface IDTSFriendlyEnumCollection100 : System.Collections.IEnumerable
[<System.Runtime.InteropServices.Guid("F754146D-79CA-4EE5-8024-23C835FB143B")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
type IDTSFriendlyEnumCollection100 = interface
    interface IEnumerable
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
[<System.Runtime.InteropServices.Guid("0992C731-3097-4570-BB0F-DC53CCFD9D96")>]
type IDTSFriendlyEnumCollection100 = interface
    interface IEnumerable
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
[<System.Runtime.InteropServices.Guid("188AC04F-8D1A-4A1D-9B7F-B0075E5501D7")>]
type IDTSFriendlyEnumCollection100 = interface
    interface IEnumerable
Public Interface IDTSFriendlyEnumCollection100
Implements IEnumerable
属性
实现

注解

集合 IDTSFriendlyEnumCollection100 是本机 C++ 组件开发人员用来公开枚举值的名称的帮助程序接口,当枚举指定为对象的值 IDTSCustomProperty100 时。 并将其IDTSFriendlyEnumCollection100IDTSFriendlyEnum100与以下宏结合使用,为 DTS 设计器中的枚举值提供友好名称。

说明
BEGIN_FRIENDLY_NAME_ENUM_LIST 启动友好名称枚举列表。
EnumerationNameBEGIN_FRIENDLY_NAME_ENUM (、 IsFlags) 启动友好名称枚举列表块。 这为每个枚举指定一次。 该 EnumerationName 参数指定枚举的名称,参数 IsFlags 指定枚举中的值是否可以一起为 ORed。
FRIENDLY_NAME (ValueNameID) 为BEGIN_FRIENDLY_NAME_ENUM中指定的枚举中的特定值添加友好名称。 该 Value 参数指定枚举中的项,参数 NameID 指定为枚举值显示的字符串。
END_FRIENDLY_NAME_ENUM 指示友好枚举的结尾;为每个BEGIN_FRIENDLY_ENUM宏指定一次。
END_FRIENDLY_ENUM_LIST 结束友好枚举名称列表。

使用上面列出的宏定义友好枚举后,该 TypeConverter 对象的属性 IDTSCustomProperty100 将分配BEGIN_FRIENDLY_NAME_ENUM宏中指定的参数的值 EnumerationName

属性

Count

获取 IDTSFriendlyEnumCollection100 集合中包含的元素数。

IsFlags

获取一个值,该值指定 IDTSFriendlyEnum100 中的 IDTSFriendlyEnumCollection100 对象的值是否可以组合在一起。

Item[Object]

获取由 Index 参数指定的 IDTSFriendlyEnumCollection100

方法

GetEnumerator()

返回一个可以循环访问的 IDTSFriendlyEnumCollection100IEnumerator。

适用于