Determines whether a data-field with the specified name is contained in the list of data-fields.

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

Syntax

C#
public bool Contains(
	string name
)

Parameters

name
Type: System..::..String
The name of the data-field to look for.

Return Value

true if a data-field with the specified name exists within list of data-fields; Otherwise false.

Exceptions

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

See Also