Control Collection. Insert(Int32, DirectoryControl) Method
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.
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)
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.