MVEntry.Item Property
Gets the Attrib object for an attribute in the MVEntry object.
Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in Microsoft.MetadirectoryServicesEx.dll)
Usage
'Usage
Dim instance As MVEntry
Dim attributeName As String
Dim value As Attrib
value = instance(attributeName)
Syntax
'Declaration
Public MustOverride ReadOnly Default Property Item ( _
attributeName As String _
) As Attrib
public abstract Attrib this [
string attributeName
] { get; }
public:
virtual property Attrib^ default [String^] {
Attrib^ get (String^ attributeName) abstract;
}
/** @property */
public abstract Attrib get_Item (String attributeName)
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.
mventry("displayName").Value = "My display name"
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
Reference
MVEntry Class
MVEntry Members
Microsoft.MetadirectoryServices Namespace
Attrib Class
AttributeNotInInclusionListException Class
NoSuchAttributeException
MVEntry Class