Share via


SPFileStream Class

Exposes a Stream object around a SharePoint file.

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.IO.Stream
      Microsoft.SharePoint.SPFileStream

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPFileStream _
    Inherits Stream

Dim instance As SPFileStream
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPFileStream : Stream

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPFileStream Members

Microsoft.SharePoint Namespace