Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.GuidID of the view being queried.
Return Value
Type: System.String
String that represents the Collaborative Application Markup Language (CAML) query.