Поделиться через


IVsRegisterUIFactories.RegisterUIFactory Method

Registers the UI factory.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Syntax

'Declaration
Function RegisterUIFactory ( _
    ByRef guid As Guid, _
    pUIFactory As IVsUIFactory _
) As Integer
int RegisterUIFactory(
    ref Guid guid,
    IVsUIFactory pUIFactory
)
int RegisterUIFactory(
    [InAttribute] Guid% guid, 
    [InAttribute] IVsUIFactory^ pUIFactory
)
abstract RegisterUIFactory : 
        guid:Guid byref * 
        pUIFactory:IVsUIFactory -> int 
function RegisterUIFactory(
    guid : Guid, 
    pUIFactory : IVsUIFactory
) : int

Parameters

  • guid
    Type: System.Guid%
    [in] A globally unique identifier for the new factory.

Return Value

Type: System.Int32
Returns S_OK if the new factory was properly registered, otherwise an error code.

.NET Framework Security

See Also

Reference

IVsRegisterUIFactories Interface

Microsoft.VisualStudio.Shell.Interop Namespace