Adds the specified privacy rule to 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 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

ExceptionCondition
System..::..ArgumentNullExceptionThe item parameter is null.
System..::..ArgumentExceptionThe privacy list already contains a rule with the same order value as the item specified.

See Also