Upravit

Sdílet prostřednictvím


ActiveDirectorySubnetCollection.Item[Int32] Property

Definition

Gets or sets an ActiveDirectorySubnet object in this collection.

public:
 property System::DirectoryServices::ActiveDirectory::ActiveDirectorySubnet ^ default[int] { System::DirectoryServices::ActiveDirectory::ActiveDirectorySubnet ^ get(int index); void set(int index, System::DirectoryServices::ActiveDirectory::ActiveDirectorySubnet ^ value); };
public System.DirectoryServices.ActiveDirectory.ActiveDirectorySubnet this[int index] { get; set; }
member this.Item(int) : System.DirectoryServices.ActiveDirectory.ActiveDirectorySubnet with get, set
Default Public Property Item(index As Integer) As ActiveDirectorySubnet

Parameters

index
Int32

The zero-based index of the ActiveDirectorySubnet object to get or set.

Property Value

The ActiveDirectorySubnet object that exists at the specified index.

Exceptions

The member already exists in this collection (applies to set only).

The item specified is null (applies to set only).

The index specified is out of range of this collection.

The ActiveDirectorySubnet specified has not yet been saved to the Active Directory Domain Services store (applies to set only).

Applies to

See also