Share via


Views.BeginAddView 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
Public Function BeginAddView ( _
    listName As String, _
    viewName As String, _
    viewFields As XmlNode, _
    query As XmlNode, _
    rowLimit As XmlNode, _
    type As String, _
    makeViewDefault As Boolean, _
    callback As AsyncCallback, _
    asyncState As Object _
) As IAsyncResult
'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 callback As AsyncCallback
Dim asyncState As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginAddView(listName, _
    viewName, viewFields, query, rowLimit, _
    type, makeViewDefault, callback, _
    asyncState)
public IAsyncResult BeginAddView(
    string listName,
    string viewName,
    XmlNode viewFields,
    XmlNode query,
    XmlNode rowLimit,
    string type,
    bool makeViewDefault,
    AsyncCallback callback,
    Object asyncState
)

Parameters

Return Value

Type: System.IAsyncResult

See Also

Reference

Views Class

Views Members

Microsoft.SharePoint.Portal.WebControls Namespace