Editatu

DirectoryAttribute Class

Definition

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
DirectoryAttribute
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 value into the DirectoryAttribute collection at the specified index.

Insert(Int32, String)

The Insert(Int32, String) method inserts the specified value into the DirectoryAttribute collection at the specified index.

Insert(Int32, Uri)

The Insert(Int32, Uri) method inserts the specified value into the DirectoryAttribute collection at the specified index.

OnValidate(Object)

The OnValidate(Object) method verifies that value is a DirectoryAttribute object.

Remove(Object)

The Remove(Object) method removes the first occurrence of the specified value from the list of attributes.

Applies to