GelVerb::Register<TOwner> Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Microsoft internal use only.

Registers a GelVerb for a given owner of the registered [GelVerb].

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assemblies:   Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

public:
generic<typename TOwner>
static GelVerb^ Register(
	String^ name, 
	VerbActionCallback^ action
)

Type Parameters

TOwner

Owner of the registered [GelVerb].

Parameters

name
Type: System::String

Name of the verb to register.

action
Type: Microsoft.Internal.VisualStudio.PlatformUI::VerbActionCallback

Callback that is called when the verb is invoked.

Return Value

Type: Microsoft.Internal.VisualStudio.PlatformUI::GelVerb
The registered [GelVerb].

Show: