Removes the specified privacy rule from the privacy list.
Namespace: S22.Xmpp.ImAssembly: 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
Exception | Condition |
---|---|
System..::..ArgumentNullException | The item parameter is null. |
System..::..NotSupportedException | The privacy list is read-only. |