ListItem.GetWOPIFrameUrl - Méthode
Gets the full URL to the SharePoint frame page that initiates the SPWOPIAction object with the WOPI application associated with the list item.
Espace de noms : Microsoft.SharePoint.Client
Assemblys : Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public Function GetWOPIFrameUrl ( _
action As SPWOPIFrameAction _
) As ClientResult(Of String)
'Utilisation
Dim instance As ListItem
Dim action As SPWOPIFrameAction
Dim returnValue As ClientResult(Of String)
returnValue = instance.GetWOPIFrameUrl(action)
public ClientResult<string> GetWOPIFrameUrl(
SPWOPIFrameAction action
)
Paramètres
action
Type : Microsoft.SharePoint.Client.Utilities.SPWOPIFrameActionThe requested SPWOPIActionobject.
Valeur renvoyée
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.