ReferenceValue.Item Property
The Item property retrieves an individual component of the distinguished name.
public String this[
Int32 componentIndex
] {get;}
Public ReadOnly Property Item( _
ByVal componentIndex As Int32 _
) As String
Parameters
- componentIndex
The zero-based index of the distinguished name component to retrieve.
Exceptions
Exception type | Condition |
---|---|
ArgumentOutOfRangeException | There is no distinguished name component at the specified componentIndex value. |
Remarks
The componentIndex parameter identifies which component of the distinguished name to retrieve, from left to right. For example, in the distinguished name "cn=jeffsmith,dc=fabrikam,dc=com", a componentIndex of 0 will retrieve "cn=jeffsmith" and a componentIndex of 1 will retrieve "dc=fabrikam".
Requirements
Product | ILM 2007 FP1 |
Namespace | Microsoft.MetadirectoryServices |
Assembly | Microsoft.MetadirectoryServices |
.NET Framework | .NET Framework 2.0 |
See Also
Send comments about this topic to Microsoft
Build date: 2/16/2009