Share via


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

  • ignoreReadOnly
    Type: System.Boolean

    true 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

View Class

View Members

Microsoft.SharePoint.BusinessData.Administration.Client Namespace