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