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)

Syntax

'Declaration
Public Shared Function Register(Of TOwner) ( _
    name As String, _
    action As VerbActionCallback _
) As GelVerb
public static GelVerb Register<TOwner>(
    string name,
    VerbActionCallback action
)
public:
generic<typename TOwner>
static GelVerb^ Register(
    String^ name, 
    VerbActionCallback^ action
)
static member Register : 
        name:string * 
        action:VerbActionCallback -> GelVerb
JScript does not support generic types or methods.

Type Parameters

  • TOwner
    Owner of the registered [GelVerb].

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

GelVerb Class

Microsoft.Internal.VisualStudio.PlatformUI Namespace