Removes the specified privacy rule from the privacy list.

Namespace: S22.Xmpp.Im
Assembly: S22.Xmpp (in S22.Xmpp.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public bool Remove(
	PrivacyRule item
)

Parameters

item
Type: S22.Xmpp.Im..::..PrivacyRule
The privacy rule to remove.

Return Value

true if item was successfully removed from the privacy list; Otherwise false. This method also returns false if item is not found in the original privacy list.

Implements

ICollection<(Of <(<'T>)>)>..::..Remove(T)

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionThe item parameter is null.
System..::..NotSupportedExceptionThe privacy list is read-only.

See Also