DirectoryControlCollection.AddRange Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a DirectoryControlCollection object to the current collection.
AddRange(DirectoryControl[]) |
The AddRange(DirectoryControl[]) method adds an array of DirectoryControl objects to the collection. |
AddRange(DirectoryControlCollection) |
The AddRange(DirectoryControlCollection) method adds a DirectoryControlCollection object to the current collection. |
- Source:
- DirectoryControl.cs
- Source:
- DirectoryControl.cs
The AddRange(DirectoryControl[]) method adds an array of DirectoryControl objects to the collection.
public:
void AddRange(cli::array <System::DirectoryServices::Protocols::DirectoryControl ^> ^ controls);
public void AddRange (System.DirectoryServices.Protocols.DirectoryControl[] controls);
member this.AddRange : System.DirectoryServices.Protocols.DirectoryControl[] -> unit
Public Sub AddRange (controls As DirectoryControl())
Parameters
- controls
- DirectoryControl[]
An array of DirectoryControl objects to add to the collection.
Exceptions
controls
is a null reference (Nothing
in Visual Basic).
A member of the array is a null reference (Nothing
in Visual Basic).
Applies to
.NET 9 (package-provided) și alte versiuni
Produs | Versiuni |
---|---|
.NET | 6 (package-provided), 7 (package-provided), 8 (package-provided), 9 (package-provided) |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
- Source:
- DirectoryControl.cs
- Source:
- DirectoryControl.cs
The AddRange(DirectoryControlCollection) method adds a DirectoryControlCollection object to the current collection.
public:
void AddRange(System::DirectoryServices::Protocols::DirectoryControlCollection ^ controlCollection);
public void AddRange (System.DirectoryServices.Protocols.DirectoryControlCollection controlCollection);
member this.AddRange : System.DirectoryServices.Protocols.DirectoryControlCollection -> unit
Public Sub AddRange (controlCollection As DirectoryControlCollection)
Parameters
- controlCollection
- DirectoryControlCollection
The DirectoryControlCollection object to add to this collection.
Exceptions
controlCollection
is a null reference (Nothing
in Visual Basic).
Applies to
.NET 9 (package-provided) și alte versiuni
Produs | Versiuni |
---|---|
.NET | 6 (package-provided), 7 (package-provided), 8 (package-provided), 9 (package-provided) |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
Feedback pentru .NET
.NET este un proiect open source. Selectați un link pentru a oferi feedback: