다음을 통해 공유


InputFormStringTypeValidator.ValidateString Method

Validates the string that is based on the StringType.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Protected Function ValidateString ( _
    value As String, _
    st As StringType _
) As Boolean
'Usage
Dim value As String
Dim st As StringType
Dim returnValue As Boolean

returnValue = Me.ValidateString(value, _
    st)
protected bool ValidateString(
    string value,
    StringType st
)

Parameters

  • st
    Type: StringType

Return Value

Type: System.Boolean

See Also

Reference

InputFormStringTypeValidator Class

InputFormStringTypeValidator Members

Microsoft.SharePoint.Portal.WebControls Namespace