DirectoryAttributeCollection.AddRange Method
Definition
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 objects to the current collection.
Overloads
AddRange(DirectoryAttribute[]) |
The AddRange(DirectoryAttribute[]) method adds an array of DirectoryAttribute objects to the collection. |
AddRange(DirectoryAttributeCollection) |
The AddRange(DirectoryAttributeCollection) method adds a DirectoryAttributeCollection object to the current collection. |
AddRange(DirectoryAttribute[])
- Source:
- DirectoryAttribute.cs
- Source:
- DirectoryAttribute.cs
- Source:
- DirectoryAttribute.cs
- Source:
- DirectoryAttribute.cs
The AddRange(DirectoryAttribute[]) method adds an array of DirectoryAttribute objects to the collection.
public:
void AddRange(cli::array <System::DirectoryServices::Protocols::DirectoryAttribute ^> ^ attributes);
public void AddRange (System.DirectoryServices.Protocols.DirectoryAttribute[] attributes);
member this.AddRange : System.DirectoryServices.Protocols.DirectoryAttribute[] -> unit
Public Sub AddRange (attributes As DirectoryAttribute())
Parameters
- attributes
- DirectoryAttribute[]
An array of DirectoryAttribute to add to the collection.
Exceptions
attributes
is a null reference (Nothing
in Visual Basic).
A member of attributes
is a null reference (Nothing
in Visual Basic) or a member of attributes
specifies a modification operation other than Add.
Applies to
AddRange(DirectoryAttributeCollection)
- Source:
- DirectoryAttribute.cs
- Source:
- DirectoryAttribute.cs
- Source:
- DirectoryAttribute.cs
- Source:
- DirectoryAttribute.cs
The AddRange(DirectoryAttributeCollection) method adds a DirectoryAttributeCollection object to the current collection.
public:
void AddRange(System::DirectoryServices::Protocols::DirectoryAttributeCollection ^ attributeCollection);
public void AddRange (System.DirectoryServices.Protocols.DirectoryAttributeCollection attributeCollection);
member this.AddRange : System.DirectoryServices.Protocols.DirectoryAttributeCollection -> unit
Public Sub AddRange (attributeCollection As DirectoryAttributeCollection)
Parameters
- attributeCollection
- DirectoryAttributeCollection
The DirectoryAttributeCollection object to add to this collection.
Exceptions
attributeCollection
is a null reference (Nothing
in Visual Basic).
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om