View.CompareViews Method
Gets the view's comparison result.
Namespace: Microsoft.SharePoint.BusinessData.Administration.Client
Assembly: Microsoft.SharePoint.BusinessData.Administration.Client (in Microsoft.SharePoint.BusinessData.Administration.Client.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.Client.ViewThe view to compare.
ignoreReadOnly
Type: System.Booleantrue to ignore read-only views; otherwise, false.
Return Value
Type: Microsoft.SharePoint.BusinessData.Administration.Client.View.ViewComparisonResult
The view's comparison result.
See Also
Reference
Microsoft.SharePoint.BusinessData.Administration.Client Namespace