[CAPICOM is a 32-bit only component that is available for use in the following operating systems: Windows Server 2008, Windows Vista, and Windows XP. Instead, use the X509ExtensionCollection Class in the System.Security.Cryptography.X509Certificates namespace.]
When to use
The Extensions object is used to perform the following tasks:
- Retrieve the number of certificate extensions in the collection.
- Retrieve a specific Extension object from the collection.
- Iterate through the collection.
The Extensions object has these types of members:
The Extensions object has these properties.
||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).
||Retrieves the number of Extension objects in the collection.
||Retrieves the Extension object that represents the indexed certificate extension of the collection. This is the default property.
The Extensions object is returned by the Certificate.Extensions method.
The Extensions object cannot be created.
|End of client support
|End of server support
||Windows Server 2008
||CAPICOM 2.0 or later on Windows Server 2003 and Windows XP