IOleObject.SetClientSite Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'Declaration
Sub SetClientSite ( _
pClientSite As IOleClientSite _
)
'Usage
Dim instance As IOleObject
Dim pClientSite As IOleClientSite
instance.SetClientSite(pClientSite)
void SetClientSite(
IOleClientSite pClientSite
)
void SetClientSite(
[InAttribute] IOleClientSite^ pClientSite
)
abstract SetClientSite :
pClientSite:IOleClientSite -> unit
function SetClientSite(
pClientSite : IOleClientSite
)
Parameters
- pClientSite
Type: Microsoft.VisualStudio.OLE.Interop.IOleClientSite
Remarks
For information on the COM interface, see IOleObject::SetClientSite
.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.