共用方式為


IOleComponentManager.FGetActiveComponent Method

Definition

public:
 int FGetActiveComponent(System::UInt32 dwgac, [Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IOleComponent ^ % ppic, cli::array <Microsoft::VisualStudio::OLE::Interop::OLECRINFO> ^ pcrinfo, System::UInt32 dwReserved);
public int FGetActiveComponent (uint dwgac, out Microsoft.VisualStudio.OLE.Interop.IOleComponent ppic, Microsoft.VisualStudio.OLE.Interop.OLECRINFO[] pcrinfo, uint dwReserved);
abstract member FGetActiveComponent : uint32 * IOleComponent * Microsoft.VisualStudio.OLE.Interop.OLECRINFO[] * uint32 -> int
Public Function FGetActiveComponent (dwgac As UInteger, ByRef ppic As IOleComponent, pcrinfo As OLECRINFO(), dwReserved As UInteger) As Integer

Parameters

dwgac
UInt32
pcrinfo
OLECRINFO[]
dwReserved
UInt32

Returns

Applies to