Partager via


ObjectWithSite.IObjectWithSite.SetSite Method

Provides the site's pointer to the site object.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Déclaration
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
    Address of an interface pointer to the site managing this object.

Implements

IObjectWithSite.SetSite(Object)

Remarks

Implements the SetSite(Object) method.

.NET Framework Security

See Also

Reference

ObjectWithSite Class

Microsoft.VisualStudio.Data Namespace

IObjectWithSite

IObjectWithSite.GetSite