SPAlternateUrl.Equals Method
Compares two SPAlternateUrl objects to determine whether their incoming URLs match.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Overrides Function Equals ( _
obj As Object _
) As Boolean
'Usage
Dim instance As SPAlternateUrl
Dim obj As Object
Dim returnValue As Boolean
returnValue = instance.Equals(obj)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public override bool Equals(
Object obj
)
Parameters
obj
Type: System.ObjectAn object that represents another alternate URL with which to compare the current alternate URL.
Return Value
Type: System.Boolean
true if the two alternate URLs match, otherwise, false.