description | ms.assetid | title | ms.topic | ms.date | topic_type | api_name | api_type | api_location | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Removes a single Certificate object from the collection. |
dff82825-1a7d-4c1a-94e2-7f9d1281ecf2 |
ICertificates2::Remove method |
reference |
05/31/2018 |
|
|
|
|
[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 Remove method removes a single Certificate object from the collection. This method was introduced in CAPICOM 2.0.
Certificates.Remove( _
ByVal Index _
)
-
Index [in]
-
Index value for the Certificate object to be removed. This parameter can be one of the following possible types.
Type Meaning - Long
The Certificate object at the specified index into the collection is removed. - String
The first Certificate object in the collection that matches the SHA-1 thumbprint contained in the specified string is removed. The first Certificate object in the collection that matches the specified Certificate object is removed.
This method does not return a value.
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 |
|