PropertyCollection.Enumerator.Current 속성

PropertyCollection에서 현재 Property를 가져옵니다.

네임스페이스:  Microsoft.AnalysisServices.AdomdServer
어셈블리:  msmgdsrv(msmgdsrv.dll)

구문

‘선언
Public ReadOnly Property Current As Property 
    Get
‘사용 방법
Dim instance As PropertyCollection.Enumerator 
Dim value As [Property]

value = instance.Current
public Property Current { get; }
public:
property Property^ Current {
    Property^ get ();
}
member Current : Property
function get Current () : Property

속성 값

유형: Microsoft.AnalysisServices.AdomdServer.Property
열거자가 컬렉션의 마지막 부분을 지나치지 않은 경우 PropertyCollectionProperty입니다.

예외

예외 조건
[InvalidOperationException]

열거자는 현재 PropertyCollection의 첫 번째 Property 앞에 또는 마지막 항목 다음에 옵니다. 이 예외에 대한 자세한 내용은 InvalidOperationException Class를 참조하십시오.

주의

열거자를 만든 후 또는 Reset 다음에는 MoveNext를 호출해서 Current의 값을 읽기 전에 컬렉션의 첫 번째 요소로 열거자를 이동해야 합니다. 그렇지 않으면 Current가 정의되지 않습니다.

참고 항목

참조

PropertyCollection.Enumerator 클래스

Microsoft.AnalysisServices.AdomdServer 네임스페이스