Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​Security.​Cryptography.​OidCollection
Assembly: System.Security.Cryptography
Inheritance: object → OidCollection
Represents a collection of <see cref="T:System.Security.Cryptography.Oid" /> objects. This class cannot be inherited.
Properties
public
int
Count
Gets the number of <see cref="T:System.Security.Cryptography.Oid" /> objects in a collection.
public
bool
IsSynchronized
Gets a value that indicates whether access to the <see cref="T:System.Security.Cryptography.OidCollection" /> object is thread safe.
public
Oid
Item
public
Oid
Item
public
object
SyncRoot
Gets an object that can be used to synchronize access to the <see cref="T:System.Security.Cryptography.OidCollection" /> object.
Methods
public
int
Add​(Oid oid)
oid
The <see cref="T:System.Security.Cryptography.Oid" /> object to add to the collection.
Returns The index of the added <see cref="T:System.Security.Cryptography.Oid" /> object.
Adds an <see cref="T:System.Security.Cryptography.Oid" /> object to the <see cref="T:System.Security.Cryptography.OidCollection" /> object.
public
void
CopyTo​(Oid[] array,
int index)
array
The array to copy the <see cref="T:System.Security.Cryptography.OidCollection" /> object into.
index
The location where the copy operation starts.
Copies the <see cref="T:System.Security.Cryptography.OidCollection" /> object into an array.
public
OidEnumerator
GetEnumerator​() Returns An <see cref="T:System.Security.Cryptography.OidEnumerator" /> object.
Returns an <see cref="T:System.Security.Cryptography.OidEnumerator" /> object that can be used to navigate the <see cref="T:System.Security.Cryptography.OidCollection" /> object.
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object