共用方式為


OlapInfoPropertyCollection.Enumerator.IEnumerator.Current 屬性

Gets the current element in the collection.

命名空間:  Microsoft.AnalysisServices.AdomdClient
組件:  Microsoft.AnalysisServices.AdomdClient (在 Microsoft.AnalysisServices.AdomdClient.dll 中)

語法

'宣告
Private ReadOnly Property Current As Object 
    Implements IEnumerator.Current 
    Get
'用途
Dim instance As OlapInfoPropertyCollection.Enumerator 
Dim value As Object 

value = CType(instance, IEnumerator).Current
Object IEnumerator.Current { get; }
private:
virtual property Object^ Current {
    Object^ get () sealed = IEnumerator::Current::get;
}
private abstract Current : Object 
private override Current : Object
JScript 支援明確介面實作的使用,但不支援新介面實作的宣告。

屬性值

型別:System.Object
The current element in the collection.

實作

IEnumerator.Current

例外狀況

例外狀況 條件
System.InvalidOperationException

The enumerator is currently before the first or after the last OlapInfoProperty in the OlapInfoPropertyCollection

請參閱

參考

OlapInfoPropertyCollection.Enumerator 結構

Microsoft.AnalysisServices.AdomdClient 命名空間