Partager via


AttributeNameEnumerator

The AttributeNameEnumerator class enumerates the names of attributes in an object. To retrieve an instance of the AttributeNameEnumerator class, call the CSEntry.GetEnumerator or MVEntry.GetEnumerator method.

The AttributeNameEnumerator class is derived from the IEnumerator class.

Public Methods

The AttributeNameEnumerator class has the following public methods.

Method Description
Equals

Determines if two objects are equal.

GetHashCode

Serves as a hash function for a particular type.

GetType

Retrieves the Type of the current object.

MoveNext

Advances the enumerator to the next attribute name in the enumeration.

Reset

Sets the enumerator to the first attribute name in the enumeration.

ToString

Retrieves a String that represents the current object.

Public Properties

The AttributeNameEnumerator class defines the following public property.

Property Description
Current Data type: String
Access type: Read-only

Retrieves the current attribute name in the enumeration.

Protected Constructors

The AttributeNameEnumerator class has the following protected constructor.

Constructor Description
AttributeNameEnumerator

Creates an instance of the AttributeNameEnumerator class.

Remarks

If you access attributes during attribute flow, only attributes defined as source attributes are available through the enumerator.

Requirements

Product ILM 2007 FP1
Namespace Microsoft.MetadirectoryServices
Assembly Microsoft.MetadirectoryServices
.NET Framework .NET Framework 2.0

See Also

CSEntry.GetEnumerator
MVEntry.GetEnumerator

Send comments about this topic to Microsoft

Build date: 2/16/2009