SPQuery constructor (SPView)

Initializes a new instance of the SPQuery class by using the specified view.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub New ( _
    view As SPView _
)
'Usage
Dim view As SPView

Dim instance As New SPQuery(view)
public SPQuery(
    SPView view
)

Parameters

Remarks

This method saves the value of the Method property of view in the Method property, the value of the Query property of view in the Query property, and the value of the RowLimit property of view in the RowLimit property.

See also

Reference

SPQuery class

SPQuery members

SPQuery overload

Microsoft.SharePoint namespace