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