Class MenuItemExtensionPoint (1.0.0)

public sealed class MenuItemExtensionPoint : IMessage<MenuItemExtensionPoint>, IEquatable<MenuItemExtensionPoint>, IDeepCloneable<MenuItemExtensionPoint>, IBufferMessage, IMessage

Common format for declaring a menu item, or button, that appears within a host app.

Inheritance

Object > MenuItemExtensionPoint

Namespace

Google.Apps.Script.Type

Assembly

Google.Apps.Script.Type.dll

Constructors

MenuItemExtensionPoint()

public MenuItemExtensionPoint()

MenuItemExtensionPoint(MenuItemExtensionPoint)

public MenuItemExtensionPoint(MenuItemExtensionPoint other)
Parameter
NameDescription
otherMenuItemExtensionPoint

Properties

Label

public string Label { get; set; }

Required. User-visible text describing the action taken by activating this extension point. For example, "Insert invoice".

Property Value
TypeDescription
String

LogoUrl

public string LogoUrl { get; set; }

The URL for the logo image shown in the add-on toolbar.

If not set, defaults to the add-on's primary logo URL.

Property Value
TypeDescription
String

RunFunction

public string RunFunction { get; set; }

Required. The endpoint to execute when this extension point is activated.

Property Value
TypeDescription
String