AttachmentCollection.AddUsingPath(ResourcePath, Stream) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Microsoft.SharePoint.Client.Remote]
public Microsoft.SharePoint.Client.Attachment AddUsingPath (Microsoft.SharePoint.Client.ResourcePath filename, System.IO.Stream contentStream);
member this.AddUsingPath : Microsoft.SharePoint.Client.ResourcePath * System.IO.Stream -> Microsoft.SharePoint.Client.Attachment
Public Function AddUsingPath (filename As ResourcePath, contentStream As Stream) As Attachment
Parameters
- filename
- ResourcePath
- contentStream
- Stream
Returns
- Attributes