Aracılığıyla paylaş


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
public property 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.
public property 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.
public property DataType Gets one of the AttributeType values that identifies the type of data that is contained by the attribute.
public property 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.
public property 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.
public property 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.
public property LastContributingMA Gets the ManagementAgent object that most recently added a value to the attribute.
public property LastContributionTime Gets the local time of when a value was most recently added to an MVEntry object attribute.
public property Name Gets the name of the attribute.
public property 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.
public property 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.
public property 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.
public property 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
public method Delete Deletes an attribute and all attribute values from the object.
public method Equals  (Inherited from Object)
public method GetHashCode  (Inherited from Object)
public method GetType  (Inherited from Object)
public method ToString  (Inherited from Object)

Top

Protected Methods

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)

Top

See Also

Reference

Attrib Class
Microsoft.MetadirectoryServices Namespace
AttributeType
ReferenceValue
ValueCollection
Attrib Class