Adds the specified privacy rule to 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 void Add( PrivacyRule item ) |
Parameters
- item
- Type: S22.Xmpp.Im..::..PrivacyRule
The item to add to the list.
Implements
ICollection<(Of <(<'T>)>)>..::..Add(T)
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | The item parameter is null. |
| System..::..ArgumentException | The privacy list already contains a rule with the same order value as the item specified. |