SPView constructor

Initializes a new instance of the SPView class.

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


Public Sub New ( _
    list As SPList, _
    xd As XmlDocument _
Dim list As SPList
Dim xd As XmlDocument

Dim instance As New SPView(list, xd)
public SPView(
    SPList list,
    XmlDocument xd


  • xd
    Type: System.Xml.XmlDocument

    A System.Xml.XmlDocument object that represents the summary XML of the view.


Use the Clone method on the constructed view object to add the view to collection of views for the list.

See also


SPView class

SPView members

Microsoft.SharePoint namespace