IValidatorValidate Method Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Performs a custom validation

Namespace: ContentStudio.Document.EPT
Assembly: CS5Interfaces (in CS5Interfaces.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

bool Validate(
	ref string test,
	string compare
)

Parameters

test
Type: SystemString
The value to test.
compare
Type: SystemString
If you want to compare the value with something the compare value can be passed in here.

Return Value

Type: Boolean
Returns true if the value is valid, false otherwise. The later will cause Content Studio to throw an exception.
See Also

Reference