RegistrationUtilities.Compare Method (String, String, Boolean)
Namespace: Microsoft.TeamFoundation.Server
Assembly: Microsoft.TeamFoundation (in Microsoft.TeamFoundation.dll)
Syntax
'Declaration
Public Shared Function Compare ( _
str1 As String, _
str2 As String, _
caseInsensitiveFlag As Boolean _
) As Integer
public static int Compare(
string str1,
string str2,
bool caseInsensitiveFlag
)
public:
static int Compare(
String^ str1,
String^ str2,
bool caseInsensitiveFlag
)
static member Compare :
str1:string *
str2:string *
caseInsensitiveFlag:bool -> int
public static function Compare(
str1 : String,
str2 : String,
caseInsensitiveFlag : boolean
) : int
Parameters
- str1
Type: System.String
- str2
Type: System.String
- caseInsensitiveFlag
Type: System.Boolean
Return Value
Type: System.Int32
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.