Recipients.Clear method

[The Clear method is available for use in the operating systems specified in the Requirements section. Instead, use the CmsRecipientCollection Class in the System.Security.Cryptography.Pkcs namespace.]

The Clear method removes all Certificate objects from a Recipients collection.

Syntax

Recipients.Clear()

Parameters

This method has no parameters.

Return value

This method does not return a value. An application that uses this method must contain code to handle an exception raised by this method.

Requirements

Requirement Value
Redistributable
CAPICOM 2.0 or later on Windows Server 2003 and Windows XP
DLL
Capicom.dll

See also

Cryptography Objects

Recipients