IMoniker.BindToStorage(IBindCtx, IMoniker, Guid, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves an interface pointer to the storage that contains the object identified by the moniker.
public:
void BindToStorage(System::Runtime::InteropServices::ComTypes::IBindCtx ^ pbc, System::Runtime::InteropServices::ComTypes::IMoniker ^ pmkToLeft, Guid % riid, [Runtime::InteropServices::Out] System::Object ^ % ppvObj);
public void BindToStorage (System.Runtime.InteropServices.ComTypes.IBindCtx pbc, System.Runtime.InteropServices.ComTypes.IMoniker pmkToLeft, ref Guid riid, out object ppvObj);
public void BindToStorage (System.Runtime.InteropServices.ComTypes.IBindCtx pbc, System.Runtime.InteropServices.ComTypes.IMoniker? pmkToLeft, ref Guid riid, out object ppvObj);
abstract member BindToStorage : System.Runtime.InteropServices.ComTypes.IBindCtx * System.Runtime.InteropServices.ComTypes.IMoniker * Guid * obj -> unit
Public Sub BindToStorage (pbc As IBindCtx, pmkToLeft As IMoniker, ByRef riid As Guid, ByRef ppvObj As Object)
Parameters
- pbc
- IBindCtx
A reference to the IBindCtx
interface on the bind context object used during this binding operation.
- pmkToLeft
- IMoniker
A reference to the moniker to the left of the current moniker, if the moniker is part of a composite moniker.
- riid
- Guid
The interface identifier (IID) of the storage interface requested.
- ppvObj
- Object
When this method returns, contains a reference to the interface requested by riid
. This parameter is passed uninitialized.
Remarks
For more information, see IMoniker::BindToStorage method.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om