Initializes a new instance of the RosterItem class.

Namespace: S22.Xmpp.Im
Assembly: S22.Xmpp (in S22.Xmpp.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public RosterItem(
	Jid jid,
	string name = null,
	params string[] groups
)

Parameters

jid
Type: S22.Xmpp..::..Jid
The JID of the user this item will be associated with.
name (Optional)
Type: System..::..String
The nickname with which to associate the JID.
groups
Type: array<System..::..String>[]()[][]
An array of groups or categories this roster item will be added to.

Exceptions

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

See Also