Attrib

The Attrib class represents an attribute associated with a CSEntry or MVEntry object. An instance of this abstract class can be created only in a derived class.

The Attrib class is derived from the System.Object class.

Public Methods

The Attrib class has the following public methods.

MethodDescription
Delete

Removes an attribute and all the attribute values from the object.

Equals

Determines if two objects are equal.

GetHashCode

Serves as a hash function for a particular type.

GetType

Retrieves the Type of the current object.

ToString

Retrieves a String that represents the current object.

Public Properties

The Attrib class defines the following public properties.

PropertyDescription
BinaryValueData type: byte array
Access type: Read/write

Retrieves or sets the binary representation of the attribute value.

BooleanValueData type: Boolean
Access type: Read/write

Retrieves or sets the Boolean representation of the attribute value.

DataTypeData type: AttributeType
Access type: Read-only

Retrieves one of the AttributeType values that identifies the type of data contained by the attribute.

IntegerValueData type: Int64
Access type: Read/write

Retrieves or sets the integer representation of the attribute value.

IsMultivaluedData type: Boolean
Access type: Read-only

Indicates whether the attribute is multi-valued or single-valued.

IsPresentData type: Boolean
Access type: Read-only

Indicates whether the attribute is present in the object.

LastContributingMAData type: ManagementAgent
Access type: Read-only

Retrieves the ManagementAgent object that most recently added a value to the attribute.

LastContributionTimeData type: DateTime
Access type: Read-only

Retrieves the local time when a value was most recently added to an MVEntry object attribute.

NameData type: String
Access type: Read-only

Retrieves the name of the attribute.

ReferenceValueData type: ReferenceValue
Access type: Read/write

Retrieves or sets a ReferenceValue object that contains the attribute value.

StringValueData type: String
Access type: Read/write

Retrieves or sets the string representation of the attribute value.

ValueData type: String
Access type: Read/write

Retrieves or sets the value of a single-valued attribute. The value can contain escaped characters.

ValuesData type: ValueCollection
Access type: Read/write

Retrieves or sets a ValueCollection object that contains the value or values of the attribute.

Protected Constructors

The Attrib class has the following protected constructor.

ConstructorDescription
Attrib

Creates an instance of the Attrib class.

Requirements

ProductILM 2007 FP1
NamespaceMicrosoft.MetadirectoryServices
AssemblyMicrosoft.MetadirectoryServices
.NET Framework.NET Framework 2.0

See Also

AttributeType
ReferenceValue
ValueCollection


Send comments about this topic to Microsoft

Build date: 2/16/2009

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.