DirectoryAttribute.Add 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将指定的值添加到此属性。
重载
| 名称 | 说明 |
|---|---|
| Add(Byte[]) |
该方法 Add(Byte[]) 将指定的值添加到此属性。 |
| Add(String) |
该方法 Add(String) 将指定的值添加到此属性。 |
| Add(Uri) |
该方法 Add(Uri) 将指定的值添加到此属性。 |
Add(Byte[])
- Source:
- DirectoryAttribute.cs
- Source:
- DirectoryAttribute.cs
- Source:
- DirectoryAttribute.cs
- Source:
- DirectoryAttribute.cs
该方法 Add(Byte[]) 将指定的值添加到此属性。
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
参数
- value
- Byte[]
要添加的值。
返回
在其中添加值的索引。
例外
value 包含 null 引用(Visual Basic 中的 Nothing)。
适用于
Add(String)
- Source:
- DirectoryAttribute.cs
- Source:
- DirectoryAttribute.cs
- Source:
- DirectoryAttribute.cs
- Source:
- DirectoryAttribute.cs
该方法 Add(String) 将指定的值添加到此属性。
public:
int Add(System::String ^ value);
public int Add(string value);
member this.Add : string -> int
Public Function Add (value As String) As Integer
参数
- value
- String
要添加的值。
返回
在其中添加值的索引。
例外
value 包含 null 引用(Visual Basic 中的 Nothing)。
适用于
Add(Uri)
- Source:
- DirectoryAttribute.cs
- Source:
- DirectoryAttribute.cs
- Source:
- DirectoryAttribute.cs
- Source:
- DirectoryAttribute.cs
该方法 Add(Uri) 将指定的值添加到此属性。
public:
int Add(Uri ^ value);
public int Add(Uri value);
member this.Add : Uri -> int
Public Function Add (value As Uri) As Integer
参数
- value
- Uri
要添加的值。
返回
在其中添加值的索引。
例外
value 包含 null 引用(Visual Basic 中的 Nothing)。