UIElement.SetSite Method
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Public Sub SetSite ( _
pUnkSite As Object _
)
'Utilisation
Dim instance As UIElement
Dim pUnkSite As Object
instance.SetSite(pUnkSite)
public void SetSite(
Object pUnkSite
)
public:
virtual void SetSite(
Object^ pUnkSite
) sealed
abstract SetSite :
pUnkSite:Object -> unit
override SetSite :
pUnkSite:Object -> unit
public final function SetSite(
pUnkSite : Object
)
Parameters
- pUnkSite
Type: System.Object
Implements
IObjectWithSite.SetSite(Object)
.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.