共用方式為


DirectoryAttributeModificationCollection.AddRange 方法

定義

將指定的物件加入至目前集合。

多載

AddRange(DirectoryAttributeModification[])

AddRange(DirectoryAttributeModification[]) 方法會將 DirectoryAttributeModification 物件的陣列加入至集合。

AddRange(DirectoryAttributeModificationCollection)

AddRange(DirectoryAttributeModificationCollection) 方法會將 DirectoryAttributeModificationCollection 物件加入至目前的集合。

AddRange(DirectoryAttributeModification[])

來源:
DirectoryAttribute.cs
來源:
DirectoryAttribute.cs
來源:
DirectoryAttribute.cs

AddRange(DirectoryAttributeModification[]) 方法會將 DirectoryAttributeModification 物件的陣列加入至集合。

public:
 void AddRange(cli::array <System::DirectoryServices::Protocols::DirectoryAttributeModification ^> ^ attributes);
public void AddRange (System.DirectoryServices.Protocols.DirectoryAttributeModification[] attributes);
member this.AddRange : System.DirectoryServices.Protocols.DirectoryAttributeModification[] -> unit
Public Sub AddRange (attributes As DirectoryAttributeModification())

參數

attributes
DirectoryAttributeModification[]

要加入至集合中之 DirectoryAttributeModification 物件的陣列。

例外狀況

attributes 為 null 參考 (在 Visual Basic 中為 Nothing)。

attributes 的其中一個成員為 null 參考 (在 Visual Basic 中為 Nothing)。

適用於

AddRange(DirectoryAttributeModificationCollection)

來源:
DirectoryAttribute.cs
來源:
DirectoryAttribute.cs
來源:
DirectoryAttribute.cs
public:
 void AddRange(System::DirectoryServices::Protocols::DirectoryAttributeModificationCollection ^ attributeCollection);
public void AddRange (System.DirectoryServices.Protocols.DirectoryAttributeModificationCollection attributeCollection);
member this.AddRange : System.DirectoryServices.Protocols.DirectoryAttributeModificationCollection -> unit
Public Sub AddRange (attributeCollection As DirectoryAttributeModificationCollection)

參數

attributeCollection
DirectoryAttributeModificationCollection

要加入至這個集合的 DirectoryAttributeModificationCollection 集合。

例外狀況

attributeCollection 為 null 參考 (在 Visual Basic 中為 Nothing)。

適用於