DirectoryAttribute.Add Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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
- 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
- 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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應