IEnumLocatorName Interface

Provides access to members to retrieving a set of Name objects for locators.

When To Use

Use the IEnumLocatorName interface to inspect the set of LocatorName objects contained in a LocatorNameEnumerator. A LocatorNameEnumerator can be retrieved from a locator workspace using the ILocatorWorkspace::LocatorNames method.

Members

Name Description
Method Clone Creates a copy of the enumeration.
Read-only property Count Number of Name objects in the enumeration.
Method Next Returns the next Name object.
Method Previous Returns the previous Name object.
Method Reset Resets the enumeration.

IEnumLocatorName.Clone Method

Creates a copy of the enumeration.

Public Function Clone ( _
) As IEnumLocatorName
public IEnumLocatorName Clone (
);

IEnumLocatorName.Count Property

Number of Name objects in the enumeration.

Public ReadOnly Property Count As Integer
public int Count {get;}

Description

The Count property returns the number of LocatorName objects in the LocatorNameEnumerator.

IEnumLocatorName.Next Method

Returns the next Name object.

Public Function Next ( _
) As ILocatorName
public ILocatorName Next (
);

Description

The Next method returns the next LocatorName object in the LocatorNameEnumerator.

IEnumLocatorName.Previous Method

Returns the previous Name object.

Public Function Previous ( _
) As ILocatorName
public ILocatorName Previous (
);

Description

The Previous method returns the previous LocatorName object in the LocatorNameEnumerator.

IEnumLocatorName.Reset Method

Resets the enumeration.

Public Sub Reset ( _
)
public void Reset (
);

Remarks

The Reset method resets the LocatorNameEnumerator so that the next call to the Next method returns the first LocatorName object in the LocatorNameEnumerator. The Reset method should always be called on a LocatorNameEnumerator immediately after retrieving it from a locator workspace.

Classes that implement IEnumLocatorName

Classes Description

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.