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
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk