PositionCollection.Enumerator Structure
Supports iterating over a PositionCollection and reading its individual Position objects.
Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)
Syntax
'Declaration
Public Structure Enumerator _
Implements IEnumerator
'Usage
Dim instance As PositionCollection.Enumerator
public struct Enumerator : IEnumerator
public value class Enumerator : IEnumerator
[<SealedAttribute>]
type Enumerator =
struct
interface IEnumerator
end
JScript suports the use of structures, but not the declaration of new ones.
The PositionCollection.Enumerator type exposes the following members.
Properties
Name | Description | |
---|---|---|
Current | Gets the current Position in the PositionCollection. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from ValueType.) | |
GetHashCode | (Inherited from ValueType.) | |
GetType | (Inherited from Object.) | |
MoveNext | Moves to the next Position in the PositionCollection. | |
Reset | Sets the enumerator to its initial position, which is before the first element in the collection. | |
ToString | (Inherited from ValueType.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IEnumerator.Current | Gets the current element in the collection. |
Top
Remarks
In Microsoft JScript, you can use the structures in the Microsoft .NET Framework, but you cannot define your own.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.