Partager via


IStorage.CreateStorage Method

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

Syntax

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

Parameters

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

.NET Framework Security

See Also

Reference

IStorage Interface

Microsoft.VisualStudio.OLE.Interop Namespace