PortalListSiteMapNode.GetQueryForView Method
Gets the query associated with a given view that is defined on this list.
Namespace: Microsoft.SharePoint.Publishing.Navigation
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Function GetQueryForView ( _
viewId As Guid _
) As String
'Usage
Dim instance As PortalListSiteMapNode
Dim viewId As Guid
Dim returnValue As String
returnValue = instance.GetQueryForView(viewId)
public string GetQueryForView(
Guid viewId
)
Parameters
- viewId
Type: System.Guid
ID of the view being queried.
Return Value
Type: System.String
String that represents the Collaborative Application Markup Language (CAML) query.