DirectoryAttribute.Insert 方法

定义

将指定 value 项插入到集合中的 DirectoryAttribute 指定 index位置。

重载

名称 说明
Insert(Int32, Byte[])

该方法 Insert(Int32, Byte[]) 将指定的 value 值插入到集合中的 DirectoryAttribute 指定 index位置。

Insert(Int32, String)

该方法 Insert(Int32, String) 将指定的 value 值插入到集合中的 DirectoryAttribute 指定 index位置。

Insert(Int32, Uri)

该方法 Insert(Int32, Uri) 将指定的 value 值插入到集合中的 DirectoryAttribute 指定 index位置。

Insert(Int32, Byte[])

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

该方法 Insert(Int32, Byte[]) 将指定的 value 值插入到集合中的 DirectoryAttribute 指定 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())

参数

index
Int32

集合中 DirectoryAttribute 要插入的 value索引 。

value
Byte[]

要插入的值。

例外

value 包含 null 引用(Visual Basic 中的 Nothing)。

index 小于零,或 index 大于对象中的 DirectoryAttribute 元素数。

适用于

Insert(Int32, String)

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

该方法 Insert(Int32, String) 将指定的 value 值插入到集合中的 DirectoryAttribute 指定 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)

参数

index
Int32

集合中 DirectoryAttribute 要插入的 value索引 。

value
String

要插入的值。

例外

value 包含 null 引用(Visual Basic 中的 Nothing)。

index 小于零,或 index 大于对象中的 DirectoryAttribute 元素数。

适用于

Insert(Int32, Uri)

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

该方法 Insert(Int32, Uri) 将指定的 value 值插入到集合中的 DirectoryAttribute 指定 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)

参数

index
Int32

集合中 DirectoryAttribute 要插入的 value索引 。

value
Uri

要插入的值。

例外

value 包含 null 引用(Visual Basic 中的 Nothing)。

index 小于零或 index 大于对象中的 DirectoryAttribute 元素数。

适用于