DirectoryControl(String, Byte[], Boolean, Boolean) Constructor

Definition

The DirectoryControl(String, Byte[], Boolean, Boolean) constructor creates an instance of the DirectoryControl class using the specified values for the type, value, criticality, and ServerSide properties.

public:
 DirectoryControl(System::String ^ type, cli::array <System::Byte> ^ value, bool isCritical, bool serverSide);
public DirectoryControl (string type, byte[] value, bool isCritical, bool serverSide);
new System.DirectoryServices.Protocols.DirectoryControl : string * byte[] * bool * bool -> System.DirectoryServices.Protocols.DirectoryControl
Public Sub New (type As String, value As Byte(), isCritical As Boolean, serverSide As Boolean)

Parameters

type
String

The control type.

value
Byte[]

The value associated with the control.

isCritical
Boolean

Specifies if the control is critical. The default is true.

serverSide
Boolean

Specifies if this is a server-side control. The default is true. false specifies a client-side control.

Exceptions

type parameter is null.

Applies to