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 コレクションは、列挙が IDTSCustomProperty100 オブジェクトの値として指定される場合、列挙の値の名前を公開するためにネイティブ C++ コンポーネント開発者が使用するヘルパー インターフェイスです。 IDTSFriendlyEnumCollection100IDTSFriendlyEnum100 は、DTS デザイナーでの列挙の値に対する表示名を提供するために、次のマクロと組み合わせて使用されます。

マクロ 説明
BEGIN_FRIENDLY_NAME_ENUM_LIST 表示名の列挙一覧を開始します。
BEGIN_FRIENDLY_NAME_ENUM(EnumerationName, IsFlags) 表示名の列挙一覧ブロックを開始します。 これは、列挙ごとに 1 回指定されます。 EnumerationName パラメーターは列挙の名前を指定し、IsFlags パラメーターは列挙の値を OR で結合できるかどうかを指定します。
FRIENDLY_NAME(Value, NameID) BEGIN_FRIENDLY_NAME_ENUM で指定されている列挙の特定の値に対する表示名を追加します。 Value パラメーターは列挙の項目を指定し、NameID パラメーターは列挙値に対して表示される文字列を指定します。
END_FRIENDLY_NAME_ENUM 表示名の列挙の終了を示します。BEGIN_FRIENDLY_ENUM マクロごとに 1 回指定されます。
END_FRIENDLY_ENUM_LIST 表示名の列挙一覧を終了します。

上記のマクロを使用して表示名の列挙を定義すると、TypeConverter オブジェクトの IDTSCustomProperty100 プロパティには、BEGIN_FRIENDLY_NAME_ENUM マクロで指定された EnumerationName パラメーターの値が割り当てられます。

プロパティ

Count

IDTSFriendlyEnumCollection100 コレクションに含まれる要素数を取得します。

IsFlags

IDTSFriendlyEnum100IDTSFriendlyEnumCollection100 オブジェクトの値を一緒に組み合わせられるかどうかを指定する値を取得します。

Item[Object]

Index パラメーターで指定された IDTSFriendlyEnumCollection100 を取得します。

メソッド

GetEnumerator()

反復処理できる IDTSFriendlyEnumCollection100IEnumerator を返します。

適用対象