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

'宣言
Public Sub New ( _
    site As Object _
)
'使用
Dim site As Object

Dim instance As New ObjectWithSite(site)
public ObjectWithSite(
    Object site
)
public:
ObjectWithSite(
    Object^ site
)
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.

Permissions

See Also

Reference

ObjectWithSite Class

ObjectWithSite Members

ObjectWithSite Overload

Microsoft.VisualStudio.Data Namespace

ObjectWithSite