IObjectWithSite.SetSite Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'Declaration
Sub SetSite ( _
pUnkSite As Object _
)
'Usage
Dim instance As IObjectWithSite
Dim pUnkSite As Object
instance.SetSite(pUnkSite)
void SetSite(
Object pUnkSite
)
void SetSite(
[InAttribute] Object^ pUnkSite
)
abstract SetSite :
pUnkSite:Object -> unit
function SetSite(
pUnkSite : Object
)
Parameters
- pUnkSite
Type: System.Object
Remarks
For information on the COM interface, see IObjectWithSite.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.