OIDs object

[The OIDs object is available for use in the operating systems specified in the Requirements section. Instead, use the OidCollection Class in the System.Security.Cryptography namespace.]

The OIDs object represents a collection of OID objects. Each OID object represents a single object identifier.

When to use

The OIDs object is used to perform the following tasks:

  • Add or remove an OID object from the collection.
  • Clear all the OID objects from the collection.
  • Retrieve the number of object identifiers in the collection.
  • Retrieve a specific OID object from the collection.
  • Iterate through the collection.

Members

The OIDs object has these types of members:

Methods

The OIDs object has these methods.

MethodDescription
Add

Adds an OID object to the collection.

Clear

Clears all OID objects from the collection.

Remove

Removes an indexed OID object from the collection.

 

Properties

The OIDs object has these properties.

PropertyAccess typeDescription

_NewEnum

Read-only

Retrieves an IEnumVARIANT interface on an object that can be used to enumerate the collection. This property is hidden within Visual Basic Scripting Edition (VBScript).

Count

Read-only

Retrieves the number of OID objects in the collection.

Item

Read-only

Retrieves an indexed OID object from the collection. This is the default property.

 

Remarks

The OIDs object cannot be created.

The OIDs object is used by the following properties:

Requirements

Redistributable

CAPICOM 2.0 or later on Windows Server 2003 and Windows XP

DLL

Capicom.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft