TopLevelNameCollection::Item Property (Int32)

 

The Item property gets a TopLevelName object in this collection.

Namespace:   System.DirectoryServices.ActiveDirectory
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

public:
property TopLevelName^ default[
	int index
] {
	TopLevelName^ get(int index);
}

Parameters

index
Type: System::Int32

The zero-based index of the TopLevelName object to get.

Property Value

Type: System.DirectoryServices.ActiveDirectory::TopLevelName^

The TopLevelName that is located at the specified index.

Exception Condition
ArgumentOutOfRangeException

The index parameter that was specified is out of range of the collection.

.NET Framework
Available since 2.0
Return to top
Show: