IStorage.OpenStorage Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
‘선언
Sub OpenStorage ( _
pwcsName As String, _
pstgPriority As IStorage, _
grfMode As UInteger, _
snbExclude As IntPtr, _
reserved As UInteger, _
<OutAttribute> ByRef ppstg As IStorage _
)
‘사용 방법
Dim instance As IStorage
Dim pwcsName As String
Dim pstgPriority As IStorage
Dim grfMode As UInteger
Dim snbExclude As IntPtr
Dim reserved As UInteger
Dim ppstg As IStorage
instance.OpenStorage(pwcsName, pstgPriority, _
grfMode, snbExclude, reserved, ppstg)
void OpenStorage(
string pwcsName,
IStorage pstgPriority,
uint grfMode,
IntPtr snbExclude,
uint reserved,
out IStorage ppstg
)
void OpenStorage(
[InAttribute] String^ pwcsName,
[InAttribute] IStorage^ pstgPriority,
[InAttribute] unsigned int grfMode,
[InAttribute] IntPtr snbExclude,
[InAttribute] unsigned int reserved,
[OutAttribute] IStorage^% ppstg
)
abstract OpenStorage :
pwcsName:string *
pstgPriority:IStorage *
grfMode:uint32 *
snbExclude:IntPtr *
reserved:uint32 *
ppstg:IStorage byref -> unit
function OpenStorage(
pwcsName : String,
pstgPriority : IStorage,
grfMode : uint,
snbExclude : IntPtr,
reserved : uint,
ppstg : IStorage
)
Parameters
- pwcsName
Type: System.String
- pstgPriority
Type: Microsoft.VisualStudio.OLE.Interop.IStorage
- grfMode
Type: System.UInt32
- snbExclude
Type: System.IntPtr
- reserved
Type: System.UInt32
- ppstg
Type: Microsoft.VisualStudio.OLE.Interop.IStorage%
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.