C# Класс Org.Mentalis.Security.Certificates.DistinguishedNameList

Implements a collection of DistinguishedName instances.
Наследование: IEnumerable, ICloneable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Add ( Org.Mentalis.Security.Certificates.DistinguishedName value ) : int

Adds a DistinguishedName to the end of the DistinguishedNameList.

Clear ( ) : void

Removes all elements from the DistinguishedNameList.

Clone ( ) : object

Creates a shallow copy of the DistinguishedNameList.

Contains ( Org.Mentalis.Security.Certificates.DistinguishedName value ) : bool

Determines whether an element is in the DistinguishedNameList.

CopyTo ( Array array, int index ) : void

Copies the entire DistinguishedNameList to a compatible one-dimensional Array, starting at the specified index of the target array.

DistinguishedNameList ( ) : System

Initializes a new DistinguishedNameList instance.

GetEnumerator ( ) : IEnumerator

Returns an enumerator for the entire DistinguishedNameList.

IndexOf ( Org.Mentalis.Security.Certificates.DistinguishedName value ) : int

Searches for the specified DistinguishedName and returns the zero-based index of the first occurrence within the entire DistinguishedNameList.

Insert ( int index, Org.Mentalis.Security.Certificates.DistinguishedName value ) : void

Inserts an element into the DistinguishedNameList at the specified index.

Remove ( Org.Mentalis.Security.Certificates.DistinguishedName value ) : void

Removes the first occurrence of a specific object from the DistinguishedNameList.

RemoveAt ( int index ) : void

Removes the element at the specified index of the DistinguishedNameList.

this ( int index ) : Org.Mentalis.Security.Certificates.DistinguishedName

Gets or sets the element at the specified index.

Приватные методы

Метод Описание
DistinguishedNameList ( ArrayList state ) : System

Initializes a new DistinguishedNameList instance.

Описание методов

Add() публичный Метод

Adds a DistinguishedName to the end of the DistinguishedNameList.
is a null reference (Nothing in Visual Basic). The list is read-only -or- the list has a fixed size.
public Add ( Org.Mentalis.Security.Certificates.DistinguishedName value ) : int
value Org.Mentalis.Security.Certificates.DistinguishedName The to be added to the end of the DistinguishedNameList.
Результат int

Clear() публичный Метод

Removes all elements from the DistinguishedNameList.
The list is read-only -or- the list has a fixed size.
public Clear ( ) : void
Результат void

Clone() публичный Метод

Creates a shallow copy of the DistinguishedNameList.
public Clone ( ) : object
Результат object

Contains() публичный Метод

Determines whether an element is in the DistinguishedNameList.
is a null reference (Nothing in Visual Basic).
public Contains ( Org.Mentalis.Security.Certificates.DistinguishedName value ) : bool
value Org.Mentalis.Security.Certificates.DistinguishedName The Object to locate in the DistinguishedNameList. The element to locate cannot be a null reference (Nothing in Visual Basic).
Результат bool

CopyTo() публичный Метод

Copies the entire DistinguishedNameList to a compatible one-dimensional Array, starting at the specified index of the target array.
is a null reference (Nothing in Visual Basic). is less than zero. is multidimensional -or- is equal to or greater than the length of -or- the number of elements in the source DistinguishedNameList is greater than the available space from to the end of the destination array. The type of the source DistinguishedNameList cannot be cast automatically to the type of the destination array.
public CopyTo ( Array array, int index ) : void
array System.Array The one-dimensional Array that is the destination of the elements copied from DistinguishedNameList. The Array must have zero-based indexing.
index int The zero-based index in at which copying begins.
Результат void

DistinguishedNameList() публичный Метод

Initializes a new DistinguishedNameList instance.
public DistinguishedNameList ( ) : System
Результат System

GetEnumerator() публичный Метод

Returns an enumerator for the entire DistinguishedNameList.
public GetEnumerator ( ) : IEnumerator
Результат IEnumerator

IndexOf() публичный Метод

Searches for the specified DistinguishedName and returns the zero-based index of the first occurrence within the entire DistinguishedNameList.
is a null reference (Nothing in Visual Basic).
public IndexOf ( Org.Mentalis.Security.Certificates.DistinguishedName value ) : int
value Org.Mentalis.Security.Certificates.DistinguishedName The DistinguishedName to locate in the DistinguishedNameList.
Результат int

Insert() публичный Метод

Inserts an element into the DistinguishedNameList at the specified index.
is a null reference (Nothing in Visual Basic). is less than zero -or- is greater than . The DistinguishedNameList is read-only -or- the DistinguishedNameList has a fixed size.
public Insert ( int index, Org.Mentalis.Security.Certificates.DistinguishedName value ) : void
index int The zero-based index at which should be inserted.
value Org.Mentalis.Security.Certificates.DistinguishedName The to insert.
Результат void

Remove() публичный Метод

Removes the first occurrence of a specific object from the DistinguishedNameList.
is a null reference (Nothing in Visual Basic). The DistinguishedNameList is read-only -or- the DistinguishedNameList has a fixed size.
public Remove ( Org.Mentalis.Security.Certificates.DistinguishedName value ) : void
value Org.Mentalis.Security.Certificates.DistinguishedName The to remove from the DistinguishedNameList.
Результат void

RemoveAt() публичный Метод

Removes the element at the specified index of the DistinguishedNameList.
is less than zero -or- is greater than . The DistinguishedNameList is read-only -or- the DistinguishedNameList has a fixed size.
public RemoveAt ( int index ) : void
index int The zero-based index of the element to remove.
Результат void

this() публичный Метод

Gets or sets the element at the specified index.
is a null reference (Nothing in Visual Basic). is less than zero -or- is equal to or greater than .
public this ( int index ) : Org.Mentalis.Security.Certificates.DistinguishedName
index int The zero-based index of the element to get or set.
Результат Org.Mentalis.Security.Certificates.DistinguishedName