共用方式為


IOleComponentManager.FRegisterComponent Method

Definition

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

Parameters

piComponent
IOleComponent
pcrinfo
OLECRINFO[]
pdwComponentID
UInt32

Returns

Applies to