Share via


ObjectWithSite Constructor (Object)

Class constructor. Initializes a new instance of the ObjectWithSite class with a specified site object.

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

Syntax

'Declaration
Public Sub New ( _
    site As Object _
)
public ObjectWithSite(
    Object site
)
public:
ObjectWithSite(
    Object^ site
)
new : 
        site:Object -> ObjectWithSite
public function ObjectWithSite(
    site : Object
)

Parameters

  • site
    Type: System.Object
    Object instance representing the site.

Remarks

This constructor sets the site, but does so without raising the SiteChanged event.

.NET Framework Security

See Also

Reference

ObjectWithSite Class

ObjectWithSite Overload

Microsoft.VisualStudio.Data Namespace

ObjectWithSite