WopiHostUtility.GetWopiTargetPropertiesByUrl method
Namespace: Microsoft.SharePoint.Client.Utilities
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Shared Function GetWopiTargetPropertiesByUrl ( _
context As ClientRuntimeContext, _
fileUrl As String, _
requestedAction As SPWOPIFrameAction _
) As WopiProperties
'Usage
Dim context As ClientRuntimeContext
Dim fileUrl As String
Dim requestedAction As SPWOPIFrameAction
Dim returnValue As WopiProperties
returnValue = WopiHostUtility.GetWopiTargetPropertiesByUrl(context, _
fileUrl, requestedAction)
public static WopiProperties GetWopiTargetPropertiesByUrl(
ClientRuntimeContext context,
string fileUrl,
SPWOPIFrameAction requestedAction
)
Parameters
- context
Type: Microsoft.SharePoint.Client.ClientRuntimeContext
- fileUrl
Type: System.String
- requestedAction
Type: Microsoft.SharePoint.Client.Utilities.SPWOPIFrameAction
Return value
Type: Microsoft.SharePoint.Client.Utilities.WopiProperties