Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether the prefix and the specified object, which must also be a string object, have the same value, but when the comparison occurs during a restore operation, this method obtains an appropriate comparison operator.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Overrides Function Equals ( _
o As Object _
) As Boolean
'Usage
Dim instance As SPPrefix
Dim o As Object
Dim returnValue As Boolean
returnValue = instance.Equals(o)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public override bool Equals(
Object o
)
Parameters
o
Type: System.ObjectThe object to compare.
Return value
Type: System.Boolean
Boolean
true if the object is an SPPrefix object and the name and prefix type are the same as this instance; otherwise, false.