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.
Implements
IMessageMenuItemExtensionPoint, IEquatableMenuItemExtensionPoint, IDeepCloneableMenuItemExtensionPoint, IBufferMessage, IMessageNamespace
GoogleGoogle.AppsGoogle.Apps.ScriptTypeAssembly
Google.Apps.Script.Type.dll
Constructors
MenuItemExtensionPoint()
public MenuItemExtensionPoint()
MenuItemExtensionPoint(MenuItemExtensionPoint)
public MenuItemExtensionPoint(MenuItemExtensionPoint other)
Parameter | |
---|---|
Name | Description |
other | MenuItemExtensionPoint |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |
RunFunction
public string RunFunction { get; set; }
Required. The endpoint to execute when this extension point is activated.
Property Value | |
---|---|
Type | Description |
string |