CertificateCollectionRemove Method (String)
Removes the certificate with the specified name of the entity this certificate was issued to.

Namespace: MailBee.Security
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public bool Remove(
	string issuedTo
)

Parameters

issuedTo
Type: SystemString
The name of the person/organization this certificate was issued to.

Return Value

Type: Boolean
true if at least one item was removed from the collection; false if the collection does not contain any certificates with the given principal name.
Exceptions
ExceptionCondition
MailBeeInvalidArgumentExceptionissuedTo is a null reference (Nothing in Visual Basic).
Remarks
All the certificates having IssuedTo equal to issuedTo will be removed from the collection. The string comparison is case-insensitive (no difference between abc and ABC).
See Also