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.ObjectObject instance representing the site.
Remarks
This constructor sets the site, but does so without raising the SiteChanged event.
Permissions
- 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.