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.Compare

Compare function. Helper function to convert to strings to the Type and compare them. Does not catch exceptions.

[Visual Basic]
Protected Shared Function Compare( _
   ByVal leftText As String, _
   ByVal rightText As String, _
   ByVal type As ValidationDataType _
) As Integer
[C#]
protected static int Compare(
   string leftText,
   string rightText,
   ValidationDataType type
);
[C++]
protected: static int Compare(
   String* leftText,
   String* rightText,
   ValidationDataType type
);
[JScript]
protected static function Compare(
   leftText : String,
   rightText : String,
   type : ValidationDataType
) : int;

Parameters

leftText
[To be supplied.]
rightText
[To be supplied.]
type
[To be supplied.]

See Also

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