Share via


Views.AddView Method

This member is reserved for internal use and is not intended to be used directly from your code.

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

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/AddView", RequestNamespace := "https://schemas.microsoft.com/sharepoint/soap/",  _
    ResponseNamespace := "https://schemas.microsoft.com/sharepoint/soap/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function AddView ( _
    listName As String, _
    viewName As String, _
    viewFields As XmlNode, _
    query As XmlNode, _
    rowLimit As XmlNode, _
    type As String, _
    makeViewDefault As Boolean _
) As XmlNode
'Usage
Dim instance As Views
Dim listName As String
Dim viewName As String
Dim viewFields As XmlNode
Dim query As XmlNode
Dim rowLimit As XmlNode
Dim type As String
Dim makeViewDefault As Boolean
Dim returnValue As XmlNode

returnValue = instance.AddView(listName, _
    viewName, viewFields, query, rowLimit, _
    type, makeViewDefault)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/AddView", RequestNamespace = "https://schemas.microsoft.com/sharepoint/soap/", 
    ResponseNamespace = "https://schemas.microsoft.com/sharepoint/soap/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public XmlNode AddView(
    string listName,
    string viewName,
    XmlNode viewFields,
    XmlNode query,
    XmlNode rowLimit,
    string type,
    bool makeViewDefault
)

Parameters

Return Value

Type: System.Xml.XmlNode

See Also

Reference

Views Class

Views Members

Microsoft.SharePoint.Portal.WebControls Namespace