Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides a site's IUnknown pointer to a given object.
Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Private Sub SetSite ( _
    pUnkSite As Object _
) Implements IObjectWithSite.SetSite
void IObjectWithSite.SetSite(
    Object pUnkSite
)
private:
virtual void SetSite(
    Object^ pUnkSite
) sealed = IObjectWithSite::SetSite
private abstract SetSite : 
        pUnkSite:Object -> unit  
private override SetSite : 
        pUnkSite:Object -> unit
JScript does not support explicit interface implementations.
Parameters
- pUnkSite 
 Type: System.Object- Pointer to the IUnknown interface pointer of the site managing this object. 
Implements
IObjectWithSite.SetSite(Object)
Remarks
Provides a managed implementation of the IObjectWithSite.SetSite method.
.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.