Share via


AttachmentCollection.AddUsingPath(ResourcePath, Stream) Method

Definition

[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

Applies to