IVsRegisterUIFactories::RegisterUIFactory Method (Guid, IVsUIFactory^)

 

Registers the UI factory.

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

int RegisterUIFactory(
	[InAttribute] Guid% guid,
	IVsUIFactory^ pUIFactory
)

Parameters

guid
Type: System::Guid

[in] A globally unique identifier for the new factory.

pUIFactory
Type: Microsoft.VisualStudio.Shell.Interop::IVsUIFactory^

[in] Pointer to the factory object.

Return Value

Type: System::Int32

Returns S_OK if the new factory was properly registered, otherwise an error code.

Return to top
Show: