SPView.GetViewXml Method
Returns the view’s schema.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Function GetViewXml As String
'Usage
Dim instance As SPView
Dim returnValue As String
returnValue = instance.GetViewXml()
public string GetViewXml()
Return Value
Type: System.String
String
A Collaborative Application Markup Language (CAML) string.