Skip to content

M_CommandLine_Infrastructure_StringExtensions_EqualsOrdinal

Moh.Hassan edited this page Oct 10, 2019 · 1 revision

StringExtensions.EqualsOrdinal Method

Namespace: CommandLine.Infrastructure
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0

Syntax

C#

public static bool EqualsOrdinal(
	this string strA,
	string strB
)

VB

<ExtensionAttribute>
Public Shared Function EqualsOrdinal ( 
	strA As String,
	strB As String
) As Boolean

C++

public:
[ExtensionAttribute]
static bool EqualsOrdinal(
	String^ strA, 
	String^ strB
)

F#

[<ExtensionAttribute>]
static member EqualsOrdinal : 
        strA : string * 
        strB : string -> bool 

Parameters

 

strA
Type: System.String
strB
Type: System.String

Return Value

Type: Boolean

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also

Reference

StringExtensions Class
CommandLine.Infrastructure Namespace

Clone this wiki locally