共用方式為


AsyncServiceProvider.IObjectWithSite.GetSite(Guid, IntPtr) Method

Definition

Gets the service provider.

 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 IID of the service provider.

ppvSite
IntPtr

nativeint

[out] A pointer to the service provider.

Implements

Applies to