Mentalis.org Security Library documentation

DistinguishedNameList.Item Property

Gets or sets the element at the specified index.

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

Parameters

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

Property Value

The element at the specified index.

Exceptions

Exception TypeCondition
ArgumentNullExceptionvalue is a null reference (Nothing in Visual Basic).
ArgumentOutOfRangeExceptionindex is less than zero -or- index is equal to or greater than Count.

See Also

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