CSEntry.Item Property
The Item property retrieves the Attrib object for an attribute in the CSEntry 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 |
---|---|
ArgumentNullException | The CSEntry object cannot be found. |
AttributeNotDefinedAsSourceException | The attribute has not been defined as a source attribute for the current flow. |
AttributeNotInInclusionListException | The attribute identified by the attributeName parameter is not selected for use by MIIS. |
NoSuchAttributeException | The attribute identified by the attributeName parameter is not present in the schema. |
Examples
The following example demonstrates how to use this property.
csentry("displayName").Item.Value = "My Display Name"
csentry["displayName"].Item.Value = "My Display Name";
Requirements
Product | ILM 2007 FP1 |
Namespace | Microsoft.MetadirectoryServices |
Assembly | Microsoft.MetadirectoryServices |
.NET Framework | .NET Framework 2.0 |
See Also
Attrib
CSEntry
NoSuchAttributeException
AttributeNotInInclusionListException
Send comments about this topic to Microsoft
Build date: 2/16/2009