ForEachEnumeratorInfos.GetEnumerator 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
집합을 ForEachEnumeratorInfos 반복할 때 a를 반환 ForEachEnumeratorInfosEnumerator 합니다.
public:
Microsoft::SqlServer::Dts::Runtime::ForEachEnumeratorInfosEnumerator ^ GetEnumerator();
public Microsoft.SqlServer.Dts.Runtime.ForEachEnumeratorInfosEnumerator GetEnumerator();
override this.GetEnumerator : unit -> Microsoft.SqlServer.Dts.Runtime.ForEachEnumeratorInfosEnumerator
Public Function GetEnumerator () As ForEachEnumeratorInfosEnumerator
반품
조사원이야 ForEachEnumeratorInfosEnumerator .
예제
다음 코드 예시는 를 GetEnumerator 사용하여 .ForEachEnumeratorInfosEnumerator
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using Microsoft.SqlServer.Dts.Runtime;
using Microsoft.SqlServer.Dts.Runtime.Enumerators.Item;
namespace ForEachEnums
{
class Program
{
static void Main(string[] args)
{
Application app = new Application();
ForEachEnumeratorInfos feInfos = app.ForEachEnumeratorInfos;
//Create the Enumerator.
ForEachEnumeratorInfosEnumerator myEnumerator = feInfos.GetEnumerator();
Console.WriteLine("The collection contains the following values:");
int i = 0;
while ((myEnumerator.MoveNext()) && (myEnumerator.Current != null))
Console.WriteLine("[{0}] {1}", i++, myEnumerator.Current.Name);
}
}
}
샘플 출력:
이 수집품에는 다음과 같은 값들이 포함되어 있습니다:
[0] 각 파일 인거매레이터에 대해
[1] 각 항목 조사자에 대해
[2] 각 ADO 조사자마다
[3] 각 ADO.NET 스키마 로셋 열거자에 대해
[4] 변수 열거자에서 각 항목에 대해
[5] 각 nodeList 열거자에 대해
[6] 각 SMO 조사자에 대해