public sealed class MenuItemExtensionPoint : IMessage<MenuItemExtensionPoint>, IEquatable<MenuItemExtensionPoint>, IDeepCloneable<MenuItemExtensionPoint>, IBufferMessage, IMessage
Reference documentation and code samples for the Google.Apps.Script.Type class MenuItemExtensionPoint.
Common format for declaring a menu item, or button, that appears within a
host app.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eMenuItemExtensionPoint\u003c/code\u003e class provides a standardized format for defining menu items or buttons within a host application, as part of the Google Apps Script Type.\u003c/p\u003e\n"],["\u003cp\u003eThis class is available in multiple versions, with version 2.3.0 being the latest release, it also supports prior versions dating back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMenuItemExtensionPoint\u003c/code\u003e inherits from the \u003ccode\u003eobject\u003c/code\u003e class and implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, to facilitate functionalities like cloning, equality checks and message handling.\u003c/p\u003e\n"],["\u003cp\u003eThe class features constructors for default initialization and cloning, along with properties like \u003ccode\u003eLabel\u003c/code\u003e, \u003ccode\u003eLogoUrl\u003c/code\u003e, and \u003ccode\u003eRunFunction\u003c/code\u003e, enabling customization of the menu item's appearance and action.\u003c/p\u003e\n"],["\u003cp\u003eThe class is part of the \u003ccode\u003eGoogle.Apps.Script.Type\u003c/code\u003e namespace, found within the \u003ccode\u003eGoogle.Apps.Script.Type.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,["# Google.Apps.Script.Type - Class MenuItemExtensionPoint (2.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.0 (latest)](/dotnet/docs/reference/Google.Apps.Script.Type/latest/Google.Apps.Script.Type.MenuItemExtensionPoint)\n- [2.2.0](/dotnet/docs/reference/Google.Apps.Script.Type/2.2.0/Google.Apps.Script.Type.MenuItemExtensionPoint)\n- [2.1.0](/dotnet/docs/reference/Google.Apps.Script.Type/2.1.0/Google.Apps.Script.Type.MenuItemExtensionPoint)\n- [2.0.0](/dotnet/docs/reference/Google.Apps.Script.Type/2.0.0/Google.Apps.Script.Type.MenuItemExtensionPoint)\n- [1.1.0](/dotnet/docs/reference/Google.Apps.Script.Type/1.1.0/Google.Apps.Script.Type.MenuItemExtensionPoint)\n- [1.0.0](/dotnet/docs/reference/Google.Apps.Script.Type/1.0.0/Google.Apps.Script.Type.MenuItemExtensionPoint) \n\n public sealed class MenuItemExtensionPoint : IMessage\u003cMenuItemExtensionPoint\u003e, IEquatable\u003cMenuItemExtensionPoint\u003e, IDeepCloneable\u003cMenuItemExtensionPoint\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google.Apps.Script.Type class MenuItemExtensionPoint.\n\nCommon format for declaring a menu item, or button, that appears within a\nhost app. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e MenuItemExtensionPoint \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[MenuItemExtensionPoint](/dotnet/docs/reference/Google.Apps.Script.Type/latest/Google.Apps.Script.Type.MenuItemExtensionPoint), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[MenuItemExtensionPoint](/dotnet/docs/reference/Google.Apps.Script.Type/latest/Google.Apps.Script.Type.MenuItemExtensionPoint), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[MenuItemExtensionPoint](/dotnet/docs/reference/Google.Apps.Script.Type/latest/Google.Apps.Script.Type.MenuItemExtensionPoint), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Apps.Script.Type](/dotnet/docs/reference/Google.Apps.Script.Type/latest/Google.Apps.Script.Type)\n\nAssembly\n--------\n\nGoogle.Apps.Script.Type.dll\n\nConstructors\n------------\n\n### MenuItemExtensionPoint()\n\n public MenuItemExtensionPoint()\n\n### MenuItemExtensionPoint(MenuItemExtensionPoint)\n\n public MenuItemExtensionPoint(MenuItemExtensionPoint other)\n\nProperties\n----------\n\n### Label\n\n public string Label { get; set; }\n\nRequired. User-visible text describing the action taken by activating this\nextension point. For example, \"Insert invoice\".\n\n### LogoUrl\n\n public string LogoUrl { get; set; }\n\nThe URL for the logo image shown in the add-on toolbar.\n\nIf not set, defaults to the add-on's primary logo URL.\n\n### RunFunction\n\n public string RunFunction { get; set; }\n\nRequired. The endpoint to execute when this extension point is\nactivated."]]