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.
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.
The OIDs object has these types of members:
The OIDs object has these methods.
Method | Description |
---|---|
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. |
The OIDs object has these properties.
Property | Access type | Description |
---|---|---|
_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. |
The OIDs object cannot be created.
The OIDs object is used by the following properties:
Requirement | Value |
---|---|
Redistributable |
CAPICOM 2.0 or later on Windows Server 2003 and Windows XP |
DLL |
|