IOleComponentManager.FRegisterComponent Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'Declaração
Function FRegisterComponent ( _
piComponent As IOleComponent, _
pcrinfo As OLECRINFO(), _
<OutAttribute> ByRef pdwComponentID As UInteger _
) As Integer
int FRegisterComponent(
IOleComponent piComponent,
OLECRINFO[] pcrinfo,
out uint pdwComponentID
)
Parameters
- piComponent
Type: Microsoft.VisualStudio.OLE.Interop.IOleComponent
- pcrinfo
Type: array<Microsoft.VisualStudio.OLE.Interop.OLECRINFO[]
- pdwComponentID
Type: System.UInt32%
Return Value
Type: System.Int32
.NET Framework Security
- 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.