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
- 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
- callback
Type: System.AsyncCallback
- asyncState
Type: System.Object
Return Value
Type: System.IAsyncResult