SPList.RenderListData method (String, Guid)
會傳回指定之的查詢檢視資料。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
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
Type: System.String檢視查詢
viewId
Type: System.Guid[基本] 檢視的識別碼
傳回值
Type: System.String
JSON 格式化字串