Click or drag to resize

DataColumnValidate Method

Validates specified type code and throws an exception if the type code is not valid.

Namespace:  Dynamicweb.Controls.Charts
Assembly:  Dynamicweb.Controls (in Dynamicweb.Controls.dll) Version: 4.2.3
Syntax
protected virtual bool Validate(
	TypeCode typeCode,
	bool throwException
)

Parameters

typeCode
Type: SystemTypeCode
Type code to validate.
throwException
Type: SystemBoolean
Indicates whether to throw an exception if type code is not valid.

Return Value

Type: Boolean
Value indicating whether specified type code is valid as a column type.
Exceptions
ExceptionCondition
NotSupportedExceptionSpecified type code is not supported.
Remarks