Mentalis.org Security Library documentation

DistinguishedName.Item Property

Gets or sets the element at the specified index.

[Visual Basic]
Public Default Property Item( _
   ByVal index As Integer _
) As NameAttribute
[C#]
public NameAttribute this[
   int index
] {get; set;}

Parameters

index
The zero-based index of the element to get or set.

Exceptions

Exception TypeCondition
ArgumentOutOfRangeExceptionindex is less than zero -or- index is equal to or greater than Count.

See Also

DistinguishedName Class | DistinguishedName Members | Org.Mentalis.Security.Certificates Namespace