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)

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.
Show: