Bagikan melalui


IOleComponentManager.FRegisterComponent Method

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

Syntax

'Declaration
Function FRegisterComponent ( _
    piComponent As IOleComponent, _
    pcrinfo As OLECRINFO(), _
    <OutAttribute> ByRef pdwComponentID As UInteger _
) As Integer
int FRegisterComponent(
    IOleComponent piComponent,
    OLECRINFO[] pcrinfo,
    out uint pdwComponentID
)
int FRegisterComponent(
    [InAttribute] IOleComponent^ piComponent, 
    [InAttribute] array<OLECRINFO>^ pcrinfo, 
    [OutAttribute] unsigned int% pdwComponentID
)
abstract FRegisterComponent : 
        piComponent:IOleComponent * 
        pcrinfo:OLECRINFO[] * 
        pdwComponentID:uint32 byref -> int
function FRegisterComponent(
    piComponent : IOleComponent, 
    pcrinfo : OLECRINFO[], 
    pdwComponentID : uint
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IOleComponentManager Interface

Microsoft.VisualStudio.OLE.Interop Namespace