共用方式為


IOleComponentManager.FGetActiveComponent Method

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

Syntax

'宣告
Function FGetActiveComponent ( _
    dwgac As UInteger, _
    <OutAttribute> ByRef ppic As IOleComponent, _
    <OutAttribute> pcrinfo As OLECRINFO(), _
    dwReserved As UInteger _
) As Integer
int FGetActiveComponent(
    uint dwgac,
    out IOleComponent ppic,
    OLECRINFO[] pcrinfo,
    uint dwReserved
)

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IOleComponentManager Interface

Microsoft.VisualStudio.OLE.Interop Namespace