共用方式為


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

適用於