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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기