返回指定的查询视图的数据。
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Function RenderListData ( _
viewXml As String, _
viewId As Guid _
) As String
用法
Dim instance As SPList
Dim viewXml As String
Dim viewId As Guid
Dim returnValue As String
returnValue = instance.RenderListData(viewXml, _
viewId)
public string RenderListData(
string viewXml,
Guid viewId
)
参数
viewXml
类型:System.String查看查询
viewId
类型:System.Guid基本视图的 ID
返回值
类型:System.String
JSON 格式的字符串