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
- listName
Type: System.String
- viewName
Type: System.String
- viewFields
Type: System.Xml.XmlNode
- query
Type: System.Xml.XmlNode
- rowLimit
Type: System.Xml.XmlNode
- type
Type: System.String
- makeViewDefault
Type: System.Boolean
Return Value
Type: System.Xml.XmlNode