DirectoryControlCollection.Insert(Int32, DirectoryControl) 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.
The Insert(Int32, DirectoryControl) method inserts the specified DirectoryControl object into the DirectoryControlCollection at the specified index.
public:
void Insert(int index, System::DirectoryServices::Protocols::DirectoryControl ^ value);
public void Insert (int index, System.DirectoryServices.Protocols.DirectoryControl value);
member this.Insert : int * System.DirectoryServices.Protocols.DirectoryControl -> unit
Public Sub Insert (index As Integer, value As DirectoryControl)
Parameters
- index
- Int32
The index in the collection at which to insert the DirectoryControl object.
- value
- DirectoryControl
The DirectoryControl object to be inserted into the collection.
Exceptions
value
is a null reference (Nothing
in Visual Basic).
index
is less than zero, or index
is greater than the number of elements in the DirectoryControlCollection object.
DirectoryControlCollection is read-only, or DirectoryControlCollection has a fixed size.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈