OnTime Extension SDK Documentation
OnTime.Extensions.SDK Namespace / ContextMenuButton Class / MethodForButton Method



In This Topic
    MethodForButton Method (ContextMenuButton)
    In This Topic
    The action that is invoked whenever this context menu entry is clicked in the user interface.
    Syntax
    'Declaration
     
    
    Public Sub MethodForButton() 
    'Usage
     
    
    Dim instance As ContextMenuButton
     
    instance.MethodForButton()
    public void MethodForButton()
    public:
    void MethodForButton(); 
    Requirements

    Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11, Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019, Windows Server 2022

    See Also