PropertyCollection.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 PropertyCollection.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 Property in the PropertyCollection.

请参阅

参考

PropertyCollection.Enumerator 结构

Microsoft.AnalysisServices.AdomdClient 命名空间