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 _
)
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.