IVsRegisterUIFactories.RegisterUIFactory(Guid, IVsUIFactory) Método

Definição

Registra a fábrica de interface do usuário.Registers the UI factory.

public:
 int RegisterUIFactory(Guid % guid, Microsoft::VisualStudio::Shell::Interop::IVsUIFactory ^ pUIFactory);
public int RegisterUIFactory (ref Guid guid, Microsoft.VisualStudio.Shell.Interop.IVsUIFactory pUIFactory);
abstract member RegisterUIFactory : Guid * Microsoft.VisualStudio.Shell.Interop.IVsUIFactory -> int
Public Function RegisterUIFactory (ByRef guid As Guid, pUIFactory As IVsUIFactory) As Integer

Parâmetros

guid
Guid

no Um identificador global exclusivo para a nova fábrica.[in] A globally unique identifier for the new factory.

pUIFactory
IVsUIFactory

no Ponteiro para o objeto de fábrica.[in] Pointer to the factory object.

Retornos

Int32

Retorna S_OK se a nova fábrica tiver sido devidamente registrada, caso contrário um código de erro.Returns S_OK if the new factory was properly registered, otherwise an error code.

Aplica-se a