BaseCodeGeneratorWithSite.GetSite Method
[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]
GetSite method of IOleObjectWithSite
Namespace: Microsoft.Data.Entity.Design.VisualStudio.SingleFileGenerator
Assembly: Microsoft.Data.Entity.Design (in Microsoft.Data.Entity.Design.dll)
Syntax
'Declaration
<SuppressMessageAttribute("Microsoft.Usage", "CA2201:DoNotRaiseReservedExceptionTypes")> _
Public Overridable Sub GetSite ( _
ByRef riid As Guid, _
<OutAttribute> ByRef ppvSite As IntPtr _
)
'Usage
Dim instance As BaseCodeGeneratorWithSite
Dim riid As Guid
Dim ppvSite As IntPtr
instance.GetSite(riid, ppvSite)
[SuppressMessageAttribute("Microsoft.Usage", "CA2201:DoNotRaiseReservedExceptionTypes")]
public virtual void GetSite(
ref Guid riid,
out IntPtr ppvSite
)
[SuppressMessageAttribute(L"Microsoft.Usage", L"CA2201:DoNotRaiseReservedExceptionTypes")]
public:
virtual void GetSite(
Guid% riid,
[OutAttribute] IntPtr% ppvSite
)
[<SuppressMessageAttribute("Microsoft.Usage", "CA2201:DoNotRaiseReservedExceptionTypes")>]
abstract GetSite :
riid:Guid byref *
ppvSite:IntPtr byref -> unit
[<SuppressMessageAttribute("Microsoft.Usage", "CA2201:DoNotRaiseReservedExceptionTypes")>]
override GetSite :
riid:Guid byref *
ppvSite:IntPtr byref -> unit
public function GetSite(
riid : Guid,
ppvSite : IntPtr
)
Parameters
- riid
Type: System.Guid%
interface to get
- ppvSite
Type: System.IntPtr%
array in which to stuff return value
Implements
IObjectWithSiteGetSite(Guid, IntPtr)
See Also
Reference
BaseCodeGeneratorWithSite Class
Microsoft.Data.Entity.Design.VisualStudio.SingleFileGenerator Namespace