NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

BaseValidator.TypeValid

TypeValid function. Helper function to determine of string can be converted to type. Does not throw exceptions.

[Visual Basic]
Protected Shared Function TypeValid( _
   ByVal text As String, _
   ByVal type As ValidationDataType _
) As Boolean
[C#]
protected static bool TypeValid(
   string text,
   ValidationDataType type
);
[C++]
protected: static bool TypeValid(
   String* text,
   ValidationDataType type
);
[JScript]
protected static function TypeValid(
   text : String,
   type : ValidationDataType
) : Boolean;

Parameters

text
[To be supplied.]
type
[To be supplied.]

See Also

BaseValidator Class | BaseValidator Members | System.Web.UI.WebControls Namespace