LevelCollection.Enumerator.Current 속성
LevelCollection에서 현재 Level를 가져옵니다.
네임스페이스: Microsoft.AnalysisServices.AdomdServer
어셈블리: msmgdsrv(msmgdsrv.dll)
구문
‘선언
Public ReadOnly Property Current As Level
Get
‘사용 방법
Dim instance As LevelCollection.Enumerator
Dim value As Level
value = instance.Current
public Level Current { get; }
public:
property Level^ Current {
Level^ get ();
}
member Current : Level
function get Current () : Level
속성 값
유형: Microsoft.AnalysisServices.AdomdServer.Level
열거자가 컬렉션의 마지막 부분을 지나치지 않은 경우 LevelCollection의 Level입니다.
예외
예외 | 조건 |
---|---|
[InvalidOperationException] | 열거자는 현재 LevelCollection의 첫 번째 Level 앞에 또는 마지막 항목 다음에 옵니다. 이 예외에 대한 자세한 내용은 InvalidOperationException Class를 참조하십시오. |
주의
열거자를 만든 후 또는 Reset 다음에는 MoveNext를 호출해서 Current의 값을 읽기 전에 컬렉션의 첫 번째 요소로 열거자를 이동해야 합니다. 그렇지 않으면 Current가 정의되지 않습니다.