Share via


SPListItem.GetWOPIFrameUrl method

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

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

Syntax

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

returnValue = instance.GetWOPIFrameUrl(action)
public string GetWOPIFrameUrl(
    SPWOPIFrameAction action
)

Parameters

Return value

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

SPListItem class

SPListItem members

Microsoft.SharePoint namespace