Udostępnij za pośrednictwem


PathString.Equals Method

 

Namespace:   Microsoft.Owin
Assembly:  Microsoft.Owin (in Microsoft.Owin.dll)

Overload List

Name Description
System_CAPS_pubmethod Equals(Object)

Compares this PathString value to another value. The default comparison is StringComparison.OrdinalIgnoreCase.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethod Equals(PathString)

Compares this PathString value to another value. The default comparison is StringComparison.OrdinalIgnoreCase.

System_CAPS_pubmethod Equals(PathString, StringComparison)

Compares this PathString value to another value using a specific StringComparison type

See Also

PathString Structure
Microsoft.Owin Namespace

Return to top

PathString.Equals Method (Object)

Compares this PathString value to another value. The default comparison is StringComparison.OrdinalIgnoreCase.

Syntax

public override bool Equals(
    object obj
)
public:
virtual bool Equals(
    Object^ obj
) override
override Equals : 
        obj:Object -> bool
Public Overrides Function Equals (
    obj As Object
) As Boolean

Parameters

Return Value

Type: System.Boolean

True if both PathString values are equal

Return to top

PathString.Equals Method (PathString)

Compares this PathString value to another value. The default comparison is StringComparison.OrdinalIgnoreCase.

Syntax

public bool Equals(
    PathString other
)
public:
virtual bool Equals(
    PathString other
) sealed
abstract Equals : 
        other:PathString -> bool
override Equals : 
        other:PathString -> bool
Public Function Equals (
    other As PathString
) As Boolean

Parameters

Return Value

Type: System.Boolean

True if both PathString values are equal

Implements

IEquatable<T>.Equals(T)

Return to top

PathString.Equals Method (PathString, StringComparison)

Compares this PathString value to another value using a specific StringComparison type

Syntax

public bool Equals(
    PathString other,
    StringComparison comparisonType
)
public:
bool Equals(
    PathString other,
    StringComparison comparisonType
)
member Equals : 
        other:PathString *
        comparisonType:StringComparison -> bool
Public Function Equals (
    other As PathString,
    comparisonType As StringComparison
) As Boolean

Parameters

Return Value

Type: System.Boolean

True if both PathString values are equal

Return to top