SPView.GetViewXml method

Returns the view’s schema.

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

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.

See also

Reference

SPView class

SPView members

Microsoft.SharePoint namespace