共用方式為


UrlValidator.EvaluateIsValid Method

Checks for illegal characters or substrings in the url name.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Protected Overrides Function EvaluateIsValid As Boolean
'Usage
Dim returnValue As Boolean

returnValue = Me.EvaluateIsValid()
protected override bool EvaluateIsValid()

Return Value

Type: System.Boolean

Remarks

Calls abstract method GetIndexOfIllegalChar to check for illegal characters. Next checks for illegal substrings "..",  "//",  "/.", "./". Cannot start or end with "."

See Also

Reference

UrlValidator Class

UrlValidator Members

Microsoft.SharePoint.WebControls Namespace