Attrib Members
Represents an attribute that is associated with a CSEntry object or an MVEntry object. You can create an instance of this abstract class only in a derived class.
The following tables list the members exposed by the Attrib type.
Protected Constructors
Name | Description | |
---|---|---|
Attrib | Creates an instance of the Attrib class. |
Top
Public Properties
Name | Description | |
---|---|---|
BinaryValue | Gets or sets the binary representation of the attribute value. Use this property with single-valued attributes only. Do not use this property for multi-valued attributes. | |
BooleanValue | Gets or sets the Boolean representation of the attribute value. Use this property with single-valued attributes only. Do not use this property for multi-valued attributes. | |
DataType | Gets one of the AttributeType values that identifies the type of data that is contained by the attribute. | |
IntegerValue | Gets or sets the integer representation of the attribute value. Use this property with single-valued attributes only. Do not use this property for multi-valued attributes. | |
IsMultivalued | Indicates whether the attribute is multi-valued or single-valued. This property contains true if the attribute is multi-valued, or false if the attribute is single-valued. | |
IsPresent | Indicates whether the attribute is present in the object. This property contains true if the attribute is present in the object, or false if the attribute is not present in the object. | |
LastContributingMA | Gets the ManagementAgent object that most recently added a value to the attribute. | |
LastContributionTime | Gets the local time of when a value was most recently added to an MVEntry object attribute. | |
Name | Gets the name of the attribute. | |
ReferenceValue | Gets or sets a ReferenceValue object that contains the attribute value. Use this property with single-valued attributes only. Do not use this property for multi-valued attributes. | |
StringValue | Gets or sets the string representation of the attribute value. Use this property with single-valued attributes only. Do not use this property for multi-valued attributes. | |
Value | Gets or sets the value of a single-valued attribute. The value can contain escaped characters. Use this property with single-valued attributes only. Do not use this property for multi-valued attributes. | |
Values | Gets or sets a ValueCollection object that contains the value or values of the attribute. This property applies to both single-valued and multi-valued attributes. |
Top
Public Methods
(see also Protected Methods)
Name | Description | |
---|---|---|
Delete | Deletes an attribute and all attribute values from the object. | |
Equals | (Inherited from Object) | |
GetHashCode | (Inherited from Object) | |
GetType | (Inherited from Object) | |
ToString | (Inherited from Object) |
Top
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object) | |
MemberwiseClone | (Inherited from Object) |
Top
See Also
Reference
Attrib Class
Microsoft.MetadirectoryServices Namespace
AttributeType
ReferenceValue
ValueCollection
Attrib Class