Gets the Attrib object for an attribute in the MVEntry object.
Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in microsoft.metadirectoryservicesex.dll)

Usage

Visual Basic
Dim instance As MVEntry
Dim attributeName As String
Dim value As Attrib

value = instance(attributeName)

Syntax

Visual Basic
Public MustOverride ReadOnly Default Property Item ( _
		attributeName As String _
) As Attrib
C#
public abstract Attrib this [
		string attributeName
] { get; }
C++
public:
virtual property Attrib^ default [String^] {
		Attrib^ get (String^ attributeName) abstract;
}
J#
/** @property */
public abstract Attrib get_Item (String attributeName)
JScript

Parameters

attributeName

Contains a string that identifies the attribute. The attribute name is not case-sensitive.

Property Value

Returns an Attrib object.

Example

The following examples demonstrate how to use this property.

Visual Basic  Copy Code
mventry("displayName").Value = "My display name"
C#  Copy Code
mventry["displayName"].Value = "My display name";

Exceptions

Exception type Condition
AttributeNotInInclusionListException

The attribute in the attributeName parameter is not selected for use by Microsoft Identity Integration Server (MIIS).

NoSuchAttributeException

The attribute in the attributeName parameter is not present in the schema.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

Change History

See Also

[an error occurred while processing this directive]