DirectoryAttribute Class
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.
The DirectoryAttribute class enables access to the attribute values.
public ref class DirectoryAttribute : System::Collections::CollectionBase
public class DirectoryAttribute : System.Collections.CollectionBase
type DirectoryAttribute = class
inherit CollectionBase
Public Class DirectoryAttribute
Inherits CollectionBase
- Inheritance
- Derived
Constructors
| Name | Description |
|---|---|
| DirectoryAttribute() |
The DirectoryAttribute() constructor creates an instance of the DirectoryAttribute class. |
| DirectoryAttribute(String, Byte[]) |
The DirectoryAttribute(String, Byte[]) constructor creates an instance of the DirectoryAttribute class using the specified attribute name and value. |
| DirectoryAttribute(String, Object[]) |
The DirectoryAttribute(String, Object[]) constructor creates an instance of the DirectoryAttribute class using the specified attribute name and values. |
| DirectoryAttribute(String, String) |
The DirectoryAttribute(String, String) constructor creates an instance of the DirectoryAttribute class using the specified attribute name and value. |
| DirectoryAttribute(String, Uri) |
The DirectoryAttribute(String, Uri) constructor creates an instance of the DirectoryAttribute class using the specified attribute name and value. |
Properties
| Name | Description |
|---|---|
| Item[Int32] |
The Item[Int32] property gets or sets the DirectoryAttribute object at the specified index. |
| Name |
The Name property contains the attribute name. |
Methods
| Name | Description |
|---|---|
| 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. |
| AddRange(Object[]) |
The AddRange(Object[]) method adds an array of values to the attribute. |
| Contains(Object) |
The Contains(Object) method determines if the attribute contains the specified value. |
| CopyTo(Object[], Int32) |
The CopyTo(Object[], Int32) method copies the entire collection to a one-dimensional array, starting at the specified index of the target array. |
| GetValues(Type) |
The GetValues(Type) method returns all values of the specified type. |
| IndexOf(Object) |
The IndexOf(Object) method returns the zero-based index of the first occurrence of the specified Object in the DirectoryAttribute collection. |
| Insert(Int32, Byte[]) |
The Insert(Int32, Byte[]) method inserts the specified |
| Insert(Int32, String) |
The Insert(Int32, String) method inserts the specified |
| Insert(Int32, Uri) |
The Insert(Int32, Uri) method inserts the specified |
| OnValidate(Object) |
The OnValidate(Object) method verifies that |
| Remove(Object) |
The Remove(Object) method removes the first occurrence of the specified |