Asserts the data-field is of the specified type.

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

Syntax

C#
protected void AssertType(
	DataFieldType expected
)

Parameters

expected
Type: S22.Xmpp.Extensions.Dataforms..::..DataFieldType
The type to assert.

Exceptions

ExceptionCondition
System..::..ArgumentExceptionThe data-field is not of the expected type.

See Also