Gets an individual component of the distinguished name.
Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in
microsoft.metadirectoryservicesex.dll)
Usage
Visual Basic |
Dim instance As ReferenceValue
Dim componentIndex As Integer
Dim value As String
value = instance(componentIndex)
|
Syntax
Visual Basic |
Public MustOverride ReadOnly Default Property Item ( _
componentIndex As Integer _
) As String
|
C# |
public abstract string this [
int componentIndex
] { get; }
|
C++ |
public:
virtual property String^ default [int] {
String^ get (int componentIndex) abstract;
}
|
J# |
/** @property */
public abstract String get_Item (int componentIndex)
|
Parameters
- componentIndex
-
The zero-based index of the distinguished name component to
retrieve.
Property Value
Returns a
String.
Exceptions
Exception type |
Condition |
System.ArgumentOutOfRangeException
|
There is no distinguished name component at the
specified componentIndex value.
|
Remarks
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
See Also