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.
| 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. |
Properties
The OIDs object has these properties.
| Property | Access type | Description |
|---|---|---|
| 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). | |
| Read-only |
Retrieves the number of OID objects in the collection. | |
| 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 |
|
Send comments about this topic to Microsoft
Build date: 10/26/2012