ListItem.GetWOPIFrameUrl 方法
Gets the full URL to the SharePoint frame page that initiates the SPWOPIAction object with the WOPI application associated with the list item.
命名空间: Microsoft.SharePoint.Client
程序集: Microsoft.SharePoint.Client.Silverlight(位于 Microsoft.SharePoint.Client.Silverlight.dll 中); Microsoft.SharePoint.Client.Phone(位于 Microsoft.SharePoint.Client.Phone.dll 中) Microsoft.SharePoint.Client(位于 Microsoft.SharePoint.Client.dll 中)
语法
声明
Public Function GetWOPIFrameUrl ( _
action As SPWOPIFrameAction _
) As ClientResult(Of String)
用法
Dim instance As ListItem
Dim action As SPWOPIFrameAction
Dim returnValue As ClientResult(Of String)
returnValue = instance.GetWOPIFrameUrl(action)
public ClientResult<string> GetWOPIFrameUrl(
SPWOPIFrameAction action
)
参数
action
类型:Microsoft.SharePoint.Client.Utilities.SPWOPIFrameActionThe requested SPWOPIActionobject.
返回值
类型:Microsoft.SharePoint.Client.ClientResult<String>
A string representation of the full URL to the WOPI frame. If there is no associated WOPI application, or no associated action, String.Empty is returned.