ServiceProvider.IObjectWithSite.GetSite(Guid, IntPtr) 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 the current site object used to resolve services.
virtual void Microsoft.VisualStudio.OLE.Interop.IObjectWithSite.GetSite(Guid % riid, [Runtime::InteropServices::Out] IntPtr % ppv) = Microsoft::VisualStudio::OLE::Interop::IObjectWithSite::GetSite;
void IObjectWithSite.GetSite (ref Guid riid, out IntPtr ppv);
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 ppv As IntPtr) Implements IObjectWithSite.GetSite
Parameters
- riid
- Guid
The IID of the interface pointer that should be returned in ppv
.
- ppv
-
IntPtr
nativeint
The address of the caller's void* variable.