Muokkaa

Jaa


DirectoryAttribute.Insert Method

Definition

Inserts the specified value into the DirectoryAttribute collection at the specified index.

Overloads

Insert(Int32, Byte[])

The Insert(Int32, Byte[]) method inserts the specified value into the DirectoryAttribute collection at the specified index.

Insert(Int32, String)

The Insert(Int32, String) method inserts the specified value into the DirectoryAttribute collection at the specified index.

Insert(Int32, Uri)

The Insert(Int32, Uri) method inserts the specified value into the DirectoryAttribute collection at the specified index.

Insert(Int32, Byte[])

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

The Insert(Int32, Byte[]) method inserts the specified value into the DirectoryAttribute collection at the specified index.

public:
 void Insert(int index, cli::array <System::Byte> ^ value);
public void Insert (int index, byte[] value);
member this.Insert : int * byte[] -> unit
Public Sub Insert (index As Integer, value As Byte())

Parameters

index
Int32

The index in the DirectoryAttribute collection at which to insert the value.

value
Byte[]

The value to insert.

Exceptions

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

index is less than zero, or index is greater than the number of elements in the DirectoryAttribute object.

Applies to

Insert(Int32, String)

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

The Insert(Int32, String) method inserts the specified value into the DirectoryAttribute collection at the specified index.

public:
 void Insert(int index, System::String ^ value);
public void Insert (int index, string value);
member this.Insert : int * string -> unit
Public Sub Insert (index As Integer, value As String)

Parameters

index
Int32

The index in the DirectoryAttribute collection at which to insert the value.

value
String

The value to insert.

Exceptions

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

index is less than zero, or index is greater than the number of elements in the DirectoryAttribute object.

Applies to

Insert(Int32, Uri)

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

The Insert(Int32, Uri) method inserts the specified value into the DirectoryAttribute collection at the specified index.

public:
 void Insert(int index, Uri ^ value);
public void Insert (int index, Uri value);
member this.Insert : int * Uri -> unit
Public Sub Insert (index As Integer, value As Uri)

Parameters

index
Int32

The index in the DirectoryAttribute collection at which to insert the value.

value
Uri

The value to insert.

Exceptions

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

index is less than zero or index is greater than the number of elements in the DirectoryAttribute object.

Applies to