Determines whether two specified StringSegment objects have the same value. A parameter specifies the culture, case, and sort rules used in the comparison.
public:
static bool Equals(Microsoft::Extensions::Primitives::StringSegment a, Microsoft::Extensions::Primitives::StringSegment b, StringComparison comparisonType);
public static bool Equals(Microsoft.Extensions.Primitives.StringSegment a, Microsoft.Extensions.Primitives.StringSegment b, StringComparison comparisonType);
static member Equals : Microsoft.Extensions.Primitives.StringSegment * Microsoft.Extensions.Primitives.StringSegment * StringComparison -> bool
Public Shared Function Equals (a As StringSegment, b As StringSegment, comparisonType As StringComparison) As Boolean
Parameters
One of the enumeration values that specifies the rules for the comparison.
Returnstrue
if the objects are equal; otherwise, false
.
public:
bool Equals(System::String ^ text, StringComparison comparisonType);
public bool Equals(string? text, StringComparison comparisonType);
override this.Equals : string * StringComparison -> bool
Public Function Equals (text As String, comparisonType As StringComparison) As Boolean
Parameters
One of the enumeration values that specifies the rules to use in the comparison.
Returnstrue
if the specified String is equal to the current StringSegment; otherwise, false
.
Indicates whether the current object is equal to another object of the same type.
public:
bool Equals(Microsoft::Extensions::Primitives::StringSegment other, StringComparison comparisonType);
public bool Equals(Microsoft.Extensions.Primitives.StringSegment other, StringComparison comparisonType);
override this.Equals : Microsoft.Extensions.Primitives.StringSegment * StringComparison -> bool
Public Function Equals (other As StringSegment, comparisonType As StringComparison) As Boolean
Parameters
One of the enumeration values that specifies the rules to use in the comparison.
Returnstrue
if the current object is equal to other
; otherwise, false
.
Indicates whether the current object is equal to another object of the same type.
public:
virtual bool Equals(Microsoft::Extensions::Primitives::StringSegment other);
public bool Equals(Microsoft.Extensions.Primitives.StringSegment other);
override this.Equals : Microsoft.Extensions.Primitives.StringSegment -> bool
Public Function Equals (other As StringSegment) As Boolean
Parameters Returns
true
if the current object is equal to other
; otherwise, false
.
Indicates whether the current object is equal to another object of the same type.
public:
override bool Equals(System::Object ^ obj);
public override bool Equals(object? obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean
Parameters
An object to compare with this object.
Returnstrue
if the current object is equal to obj
; otherwise, false
.
public:
virtual bool Equals(System::String ^ text);
public bool Equals(string? text);
override this.Equals : string -> bool
Public Function Equals (text As String) As Boolean
Parameters Returns
true
if the specified String is equal to the current StringSegment; otherwise, false
.
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this articleWas this page helpful?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4