DomainCollection::Item Property (Int32)
.NET Framework (current version)
Gets a Domain object in this collection.
Assembly: System.DirectoryServices (in System.DirectoryServices.dll)
Parameters
- index
-
Type:
System::Int32
The zero-based index of the Domain object to get.
Property Value
Type: System.DirectoryServices.ActiveDirectory::Domain^The Domain object that exists at the specified index.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The index specified is out of range of the collection. |
.NET Framework
Available since 2.0
Available since 2.0
Show: