FileCollection.AddUsingPath method
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Function AddUsingPath ( _
path As ResourcePath, _
parameters As FileCollectionAddParameters, _
contentStream As Stream _
) As File
'Usage
Dim instance As FileCollection
Dim path As ResourcePath
Dim parameters As FileCollectionAddParameters
Dim contentStream As Stream
Dim returnValue As File
returnValue = instance.AddUsingPath(path, _
parameters, contentStream)
public File AddUsingPath(
ResourcePath path,
FileCollectionAddParameters parameters,
Stream contentStream
)
Parameters
- path
Type: Microsoft.SharePoint.Client.ResourcePath
- parameters
Type: Microsoft.SharePoint.Client.FileCollectionAddParameters
- contentStream
Type: System.IO.Stream
Return value
Type: Microsoft.SharePoint.Client.File