ICertificates2::Add method

[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 X509Certificate2Collection Class in the System.Security.Cryptography.X509Certificates namespace.]

The Add method adds a Certificate object to the collection. This method is introduced in CAPICOM 2.0.

Syntax

Certificates.Add( _
  ByVal Certificate _
)

Parameters

Certificate [in]

The Certificate object to be added to the collection.

Return value

This method does not return a value.

Requirements

Requirement Value
End of client support
Windows Vista
End of server support
Windows Server 2008
Redistributable
CAPICOM 2.0 or later on Windows Server 2003 and Windows XP
DLL
Capicom.dll