Click or drag to resize
ValidatorIsFileName Method
Determines whether source control's value matches file name.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntax
C#
public Validator IsFileName(
	Object source,
	string errorMessage
)

Parameters

source
Type: SystemObject
Control to validate
errorMessage
Type: SystemString
It is returned when control's value is not file name

Return Value

Type: Validator
See Also