Determines whether the privacy list contains the specified privacy rule.
Namespace: S22.Xmpp.ImAssembly: S22.Xmpp (in S22.Xmpp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public bool Contains( PrivacyRule item ) |
Parameters
- item
- Type: S22.Xmpp.Im..::..PrivacyRule
The privacy rule to locate.
Return Value
true if the privacy rule is contained in the privacy list; Otherwise false.Implements
ICollection<(Of <(<'T>)>)>..::..Contains(T)Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | The item parameter is null. |