HierarchyCollection.Enumerator 结构

Supports iterating over a HierarchyCollection and reading its individual Hierarchy.

命名空间:  Microsoft.AnalysisServices.AdomdClient
程序集:  Microsoft.AnalysisServices.AdomdClient(在 Microsoft.AnalysisServices.AdomdClient.dll 中)

语法

声明
Public Structure Enumerator _
    Implements IEnumerator
用法
Dim instance As HierarchyCollection.Enumerator
public struct Enumerator : IEnumerator
public value class Enumerator : IEnumerator
[<SealedAttribute>]
type Enumerator =  
    struct
        interface IEnumerator
    end
JScript 支持使用结构,但不支持声明新结构。

HierarchyCollection..::..Enumerator 类型公开以下成员。

属性

  名称 说明
公共属性 Current Gets the current Hierarchy in the HierarchyCollection.

页首

方法

  名称 说明
公共方法 Equals (从 ValueType 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 ValueType 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 MoveNext Moves to the next Hierarchy in the HierarchyCollection.
公共方法 Reset Sets the enumerator to its initial position, which is before the first element in the collection.
公共方法 ToString (从 ValueType 继承。)

页首

显式接口实现

  名称 说明
显式接口实现私有属性 IEnumerator. . :: . .Current

页首

注释

In Microsoft JScript, you can use the structures in the Microsoft .NET Framework, but you cannot define your own.

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。