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 uint Add(
	PrivacyRule item,
	bool overWriteOrder
)

Parameters

item
Type: S22.Xmpp.Im..::..PrivacyRule
The item to add to the list.
overWriteOrder
Type: System..::..Boolean
If true, the order value of the privacy-rule may be overwritten, if a rule with the same order value already exists.

Return Value

The possibly modified order value of the privacy-rule.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionThe item parameter is null.

See Also