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 Designerで列挙値の値に親しみやすい名前を提供するために以下のマクロと組み合わせて使用されます。

マクロ 説明
BEGIN_FRIENDLY_NAME_ENUM_LIST 友好的な名前列挙リストを始めます。
BEGIN_FRIENDLY_NAME_ENUM( EnumerationNameIsFlags) 友好的な名前列挙リストのブロックを開始します。 これは各列挙ごとに一度ずつ指定されます。 EnumerationNameパラメータは列挙名を指定し、IsFlagsパラメータは列挙中の値がORで合算できるかどうかを示します。
FRIENDLY_NAME(ValueNameID) 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

IDTSFriendlyEnumCollection100内のIDTSFriendlyEnum100オブジェクトの値を組み合わせられるかどうかを指定する値が得られます。

Item[Object]

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

メソッド

名前 説明
GetEnumerator()

IDTSFriendlyEnumCollection100を順番に進めるIE分子を返します。

適用対象