ListItem.GetWOPIFrameUrl method

Gets the full URL to the SharePoint frame page that initiates the SPWOPIAction object with the WOPI application associated with the list item.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Function GetWOPIFrameUrl ( _
    action As SPWOPIFrameAction _
) As ClientResult(Of String)
'Usage
Dim instance As ListItem
Dim action As SPWOPIFrameAction
Dim returnValue As ClientResult(Of String)

returnValue = instance.GetWOPIFrameUrl(action)
public ClientResult<string> GetWOPIFrameUrl(
    SPWOPIFrameAction action
)

Parameters

Return value

Type: 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.

See also

Reference

ListItem class

ListItem members

Microsoft.SharePoint.Client namespace