次の方法で共有


ServiceProviderWithSite.IObjectWithSite.GetSite(Guid, IntPtr) Method

Definition

Retrieves the last site set using the IObjectWithSite.SetSite(Object) method. If there is no known site, an exception is thrown.

 virtual void Microsoft.VisualStudio.OLE.Interop.IObjectWithSite.GetSite(Guid % riid, [Runtime::InteropServices::Out] IntPtr % ppvSite) = Microsoft::VisualStudio::OLE::Interop::IObjectWithSite::GetSite;
void IObjectWithSite.GetSite (ref Guid riid, out IntPtr ppvSite);
abstract member Microsoft.VisualStudio.OLE.Interop.IObjectWithSite.GetSite : Guid * nativeint -> unit
override this.Microsoft.VisualStudio.OLE.Interop.IObjectWithSite.GetSite : Guid * nativeint -> unit
Sub GetSite (ByRef riid As Guid, ByRef ppvSite As IntPtr) Implements IObjectWithSite.GetSite

Parameters

riid
Guid

The interface ID (IID) of the interface pointer returnable in the ppvSite parameter.

ppvSite
IntPtr

nativeint

Address of the pointer variable that receives the interface pointer request in the riid parameter.

Implements

Applies to