DirectoryAttributeCollection::Item Property (Int32)

 

The Item property contains the DirectoryAttribute object at the specified index.

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

public:
property DirectoryAttribute^ default[
	int index
] {
	DirectoryAttribute^ get(int index);
	void set(int index, DirectoryAttribute^ value);
}

Parameters

index
Type: System::Int32

The index value of the DirectoryAttribute object.

Property Value

Type: System.DirectoryServices.Protocols::DirectoryAttribute^

The DirectoryAttribute object at the specified index.

Exception

Condition

ArgumentException

You attempted to set the property to null.

.NET Framework
Available since 2.0
Return to top
Show: