Compartir a través de


HostString.Equals Method

 

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

Overload List

Name Description
System_CAPS_pubmethod Equals(HostString)

Compares the equality of the Value property, ignoring case.

System_CAPS_pubmethod Equals(Object)

Compares against the given object only if it is a HostString.(Overrides ValueType.Equals(Object).)

See Also

HostString Structure
Microsoft.Owin Namespace

Return to top

HostString.Equals Method (HostString)

Compares the equality of the Value property, ignoring case.

Syntax

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

Parameters

Return Value

Type: System.Boolean

Returns Boolean.

Implements

IEquatable<T>.Equals(T)

Return to top

HostString.Equals Method (Object)

Compares against the given object only if it is a HostString.

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

Returns Boolean.

Return to top