Share via


SPHttpUserAgentAndMethodClassifier.Equals method

Determines whether the specified object is equal to the current SPHttpUserAgentAndMethodClassifier object.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Overrides Function Equals ( _
    obj As Object _
) As Boolean
'Usage
Dim instance As SPHttpUserAgentAndMethodClassifier
Dim obj As Object
Dim returnValue As Boolean

returnValue = instance.Equals(obj)
public override bool Equals(
    Object obj
)

Parameters

Return value

Type: System.Boolean
true, if the two objects are equal; otherwise, false.

Remarks

This override returns true if the UserAgent, HttpMethod, and MatchSetting properties of the two objects are equal.

See also

Reference

SPHttpUserAgentAndMethodClassifier class

SPHttpUserAgentAndMethodClassifier members

Microsoft.SharePoint.Utilities namespace