DirectoryAttributeCollection.Item[Int32] 属性
定义
Item[Int32] 属性包含指定索引处的 DirectoryAttribute 对象。The Item[Int32] property contains the DirectoryAttribute object at the specified index.
public:
property System::DirectoryServices::Protocols::DirectoryAttribute ^ default[int] { System::DirectoryServices::Protocols::DirectoryAttribute ^ get(int index); void set(int index, System::DirectoryServices::Protocols::DirectoryAttribute ^ value); };
public System.DirectoryServices.Protocols.DirectoryAttribute this[int index] { get; set; }
member this.Item(int) : System.DirectoryServices.Protocols.DirectoryAttribute with get, set
Default Public Property Item(index As Integer) As DirectoryAttribute
参数
- index
- Int32
DirectoryAttribute 对象的索引值。The index value of the DirectoryAttribute object.
属性值
指定索引处的 DirectoryAttribute 对象。The DirectoryAttribute object at the specified index.
注解
异常Exceptions
| 例外Exception | 条件Condition |
|---|---|
| ArgumentExceptionArgumentException | 您尝试将属性设置为 null 。You attempted to set the property to null. |