IOleClientSite.GetContainer Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'宣言
Sub GetContainer ( _
<OutAttribute> ByRef ppContainer As IOleContainer _
)
'使用
Dim instance As IOleClientSite
Dim ppContainer As IOleContainer
instance.GetContainer(ppContainer)
void GetContainer(
out IOleContainer ppContainer
)
void GetContainer(
[OutAttribute] IOleContainer^% ppContainer
)
function GetContainer(
ppContainer : IOleContainer
)
Parameters
- ppContainer
Type: Microsoft.VisualStudio.OLE.Interop.IOleContainer%
Remarks
For information on the COM interface, see IOleClientSite::GetContainer
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.