Метод 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.