File.OpenBinaryDirect - Méthode (ClientContext, String, EventHandler<OpenBinarySucceededEventArgs>, EventHandler<OpenBinaryFailedEventArgs>)
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)
Syntaxe
'Déclaration
Public Shared Sub OpenBinaryDirect ( _
context As ClientContext, _
serverRelativeUrl As String, _
succeededCallback As EventHandler(Of OpenBinarySucceededEventArgs), _
failedCallback As EventHandler(Of OpenBinaryFailedEventArgs) _
)
'Utilisation
Dim context As ClientContext
Dim serverRelativeUrl As String
Dim succeededCallback As EventHandler(Of OpenBinarySucceededEventArgs)
Dim failedCallback As EventHandler(Of OpenBinaryFailedEventArgs)
File.OpenBinaryDirect(context, serverRelativeUrl, _
succeededCallback, failedCallback)
public static void OpenBinaryDirect(
ClientContext context,
string serverRelativeUrl,
EventHandler<OpenBinarySucceededEventArgs> succeededCallback,
EventHandler<OpenBinaryFailedEventArgs> failedCallback
)
Paramètres
- context
Type : Microsoft.SharePoint.Client.ClientContext
- serverRelativeUrl
Type : System.String
- succeededCallback
Type : System.EventHandler<OpenBinarySucceededEventArgs>
- failedCallback
Type : System.EventHandler<OpenBinaryFailedEventArgs>