MVEntry.Item Property

The Item property retrieves the Attrib object for an attribute in the MVEntry object.

public Attrib this[
  string attributeName
] {get;}
Public ReadOnly Property Item( _
  ByVal attributeName As String _
) As Attrib

Parameters

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

Exceptions

Exception type Condition
AttributeNotInInclusionListException

The attribute in the attributeName parameter is not selected for use by MIIS.

NoSuchAttributeException

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

Examples

The following example demonstrates how to use this property.

mventry("displayName").Value = "My display name"

The following example demonstrates how to use this property in C#.

mventry["displayName"].Value = "My display name";

Requirements

Product ILM 2007 FP1
Namespace Microsoft.MetadirectoryServices
Assembly Microsoft.MetadirectoryServices
.NET Framework .NET Framework 2.0

See Also

Attrib
AttributeNotInInclusionListException
MVEntry
NoSuchAttributeException

Send comments about this topic to Microsoft

Build date: 2/16/2009