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

Usage

Visual Basic
Dim instance As CSEntry
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
csentry("displayName").Item.Value = "My Display Name"
C#  Copy Code
csentry["displayName"].Item.Value = "My Display Name";

Exceptions

Exception type Condition
System.ArgumentNullException

The CSEntry object cannot be found.

AttributeNotDefinedAsSourceException

The attribute is not defined as a source attribute for the current flow.

AttributeNotInInclusionListException

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

NoSuchAttributeException

The attribute that is identified by 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