View.CompareViews method
Gets the view's comparison result.
Namespace: Microsoft.SharePoint.BusinessData.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function CompareViews ( _
viewToCompare As View, _
ignoreReadOnly As Boolean _
) As View.ViewComparisonResult
'Usage
Dim instance As View
Dim viewToCompare As View
Dim ignoreReadOnly As Boolean
Dim returnValue As View.ViewComparisonResult
returnValue = instance.CompareViews(viewToCompare, _
ignoreReadOnly)
public View.ViewComparisonResult CompareViews(
View viewToCompare,
bool ignoreReadOnly
)
Parameters
viewToCompare
Type: Microsoft.SharePoint.BusinessData.Administration.ViewThe View to compare.
ignoreReadOnly
Type: System.Booleantrue to ignore read-only views; otherwise, false.
Return value
Type: Microsoft.SharePoint.BusinessData.Administration.View.ViewComparisonResult
The view's comparison result.