Bearbeiten

Freigeben über


DirectoryAttribute Constructors

Definition

Creates an instance of the DirectoryAttribute class.

Overloads

DirectoryAttribute()

The DirectoryAttribute() constructor creates an instance of the DirectoryAttribute class.

DirectoryAttribute(String, Byte[])

The DirectoryAttribute(String, Byte[]) constructor creates an instance of the DirectoryAttribute class using the specified attribute name and value.

DirectoryAttribute(String, Object[])

The DirectoryAttribute(String, Object[]) constructor creates an instance of the DirectoryAttribute class using the specified attribute name and values.

DirectoryAttribute(String, String)

The DirectoryAttribute(String, String) constructor creates an instance of the DirectoryAttribute class using the specified attribute name and value.

DirectoryAttribute(String, Uri)

The DirectoryAttribute(String, Uri) constructor creates an instance of the DirectoryAttribute class using the specified attribute name and value.

DirectoryAttribute()

Source:
DirectoryAttribute.cs
Source:
DirectoryAttribute.cs
Source:
DirectoryAttribute.cs

The DirectoryAttribute() constructor creates an instance of the DirectoryAttribute class.

public:
 DirectoryAttribute();
public DirectoryAttribute ();
Public Sub New ()

Applies to

DirectoryAttribute(String, Byte[])

Source:
DirectoryAttribute.cs
Source:
DirectoryAttribute.cs
Source:
DirectoryAttribute.cs

The DirectoryAttribute(String, Byte[]) constructor creates an instance of the DirectoryAttribute class using the specified attribute name and value.

public:
 DirectoryAttribute(System::String ^ name, cli::array <System::Byte> ^ value);
public DirectoryAttribute (string name, byte[] value);
new System.DirectoryServices.Protocols.DirectoryAttribute : string * byte[] -> System.DirectoryServices.Protocols.DirectoryAttribute
Public Sub New (name As String, value As Byte())

Parameters

name
String

The attribute name.

value
Byte[]

The attribute value.

Exceptions

name or value contains a null reference (Nothing in Visual Basic).

Applies to

DirectoryAttribute(String, Object[])

Source:
DirectoryAttribute.cs
Source:
DirectoryAttribute.cs
Source:
DirectoryAttribute.cs

The DirectoryAttribute(String, Object[]) constructor creates an instance of the DirectoryAttribute class using the specified attribute name and values.

public:
 DirectoryAttribute(System::String ^ name, ... cli::array <System::Object ^> ^ values);
public DirectoryAttribute (string name, params object[] values);
new System.DirectoryServices.Protocols.DirectoryAttribute : string * obj[] -> System.DirectoryServices.Protocols.DirectoryAttribute
Public Sub New (name As String, ParamArray values As Object())

Parameters

name
String

The attribute name.

values
Object[]

An array of values for the attribute.

Exceptions

name or value contains a null reference (Nothing in Visual Basic).

An element of values is not of type string, byte[], or Uri.

Applies to

DirectoryAttribute(String, String)

Source:
DirectoryAttribute.cs
Source:
DirectoryAttribute.cs
Source:
DirectoryAttribute.cs

The DirectoryAttribute(String, String) constructor creates an instance of the DirectoryAttribute class using the specified attribute name and value.

public:
 DirectoryAttribute(System::String ^ name, System::String ^ value);
public DirectoryAttribute (string name, string value);
new System.DirectoryServices.Protocols.DirectoryAttribute : string * string -> System.DirectoryServices.Protocols.DirectoryAttribute
Public Sub New (name As String, value As String)

Parameters

name
String

The attribute name.

value
String

The attribute value.

Exceptions

name or value contains a null reference (Nothing in Visual Basic).

Applies to

DirectoryAttribute(String, Uri)

Source:
DirectoryAttribute.cs
Source:
DirectoryAttribute.cs
Source:
DirectoryAttribute.cs

The DirectoryAttribute(String, Uri) constructor creates an instance of the DirectoryAttribute class using the specified attribute name and value.

public:
 DirectoryAttribute(System::String ^ name, Uri ^ value);
public DirectoryAttribute (string name, Uri value);
new System.DirectoryServices.Protocols.DirectoryAttribute : string * Uri -> System.DirectoryServices.Protocols.DirectoryAttribute
Public Sub New (name As String, value As Uri)

Parameters

name
String

The attribute name.

value
Uri

The attribute value.

Exceptions

name or value contains a null reference (Nothing in Visual Basic).

Applies to