IOleComponentManager.FGetActiveComponent Method

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'Declaration
Function FGetActiveComponent ( _
    dwgac As UInteger, _
    <OutAttribute> ByRef ppic As IOleComponent, _
    <OutAttribute> pcrinfo As OLECRINFO(), _
    dwReserved As UInteger _
) As Integer
'Usage
Dim instance As IOleComponentManager 
Dim dwgac As UInteger 
Dim ppic As IOleComponent 
Dim pcrinfo As OLECRINFO()
Dim dwReserved As UInteger 
Dim returnValue As Integer 

returnValue = instance.FGetActiveComponent(dwgac, _
    ppic, pcrinfo, dwReserved)
int FGetActiveComponent(
    uint dwgac,
    out IOleComponent ppic,
    OLECRINFO[] pcrinfo,
    uint dwReserved
)
int FGetActiveComponent(
    [InAttribute] unsigned int dwgac, 
    [OutAttribute] IOleComponent^% ppic, 
    [InAttribute] [OutAttribute] array<OLECRINFO>^ pcrinfo, 
    [InAttribute] unsigned int dwReserved
)
function FGetActiveComponent(
    dwgac : uint, 
    ppic : IOleComponent, 
    pcrinfo : OLECRINFO[], 
    dwReserved : uint
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IOleComponentManager Interface

IOleComponentManager Members

Microsoft.VisualStudio.OLE.Interop Namespace