DirectoryAttributeCollection.Item[Int32] 属性

定义

Item[Int32] 属性包含指定索引处的 DirectoryAttribute 对象。

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 对象的索引值。

属性值

指定索引处的 DirectoryAttribute 对象。

注解

例外

异常 条件
ArgumentException 您尝试将 属性设置为 null

适用于