Partager via


IStorage.OpenStream Method

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'Declaration
Sub OpenStream ( _
    pwcsName As String, _
    reserved1 As IntPtr, _
    grfMode As UInteger, _
    reserved2 As UInteger, _
    <OutAttribute> ByRef ppstm As IStream _
)
void OpenStream(
    string pwcsName,
    IntPtr reserved1,
    uint grfMode,
    uint reserved2,
    out IStream ppstm
)
void OpenStream(
    [InAttribute] String^ pwcsName, 
    [InAttribute] IntPtr reserved1, 
    [InAttribute] unsigned int grfMode, 
    [InAttribute] unsigned int reserved2, 
    [OutAttribute] IStream^% ppstm
)
abstract OpenStream : 
        pwcsName:string * 
        reserved1:IntPtr * 
        grfMode:uint32 * 
        reserved2:uint32 * 
        ppstm:IStream byref -> unit
function OpenStream(
    pwcsName : String, 
    reserved1 : IntPtr, 
    grfMode : uint, 
    reserved2 : uint, 
    ppstm : IStream
)

Parameters

  • pwcsName
    Type: String
  • reserved1
    Type: IntPtr
  • grfMode
    Type: UInt32
  • reserved2
    Type: UInt32

.NET Framework Security

See Also

Reference

IStorage Interface

Microsoft.VisualStudio.OLE.Interop Namespace