แก้ไข

แชร์ผ่าน


DirectoryAttribute.Add Method

Definition

Adds the specified value to this attribute.

Overloads

Add(Byte[])

The Add(Byte[]) method adds the specified value to this attribute.

Add(String)

The Add(String) method adds the specified value to this attribute.

Add(Uri)

The Add(Uri) method adds the specified value to this attribute.

Add(Byte[])

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

The Add(Byte[]) method adds the specified value to this attribute.

public:
 int Add(cli::array <System::Byte> ^ value);
public int Add (byte[] value);
member this.Add : byte[] -> int
Public Function Add (value As Byte()) As Integer

Parameters

value
Byte[]

The value to add.

Returns

The index at which the value has been added.

Exceptions

Value contains a null reference (Nothing in Visual Basic).

Applies to

Add(String)

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

The Add(String) method adds the specified value to this attribute.

public:
 int Add(System::String ^ value);
public int Add (string value);
member this.Add : string -> int
Public Function Add (value As String) As Integer

Parameters

value
String

The value to add.

Returns

The index at which the value has been added.

Exceptions

Value contains a null reference (Nothing in Visual Basic).

Applies to

Add(Uri)

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

The Add(Uri) method adds the specified value to this attribute.

public:
 int Add(Uri ^ value);
public int Add (Uri value);
member this.Add : Uri -> int
Public Function Add (value As Uri) As Integer

Parameters

value
Uri

The value to add.

Returns

The index at which the value has been added.

Exceptions

Value contains a null reference (Nothing in Visual Basic).

Applies to