CommandBarButtonClass.HyperlinkType Property

Definition

Sets or gets a MsoCommandBarButtonHyperlinkType constant that represents the type of hyperlink associated with the specified command bar button. Read/write.

public:
 virtual property Microsoft::Office::Core::MsoCommandBarButtonHyperlinkType HyperlinkType { Microsoft::Office::Core::MsoCommandBarButtonHyperlinkType get(); void set(Microsoft::Office::Core::MsoCommandBarButtonHyperlinkType value); };
public virtual Microsoft.Office.Core.MsoCommandBarButtonHyperlinkType HyperlinkType { get; set; }
member this.HyperlinkType : Microsoft.Office.Core.MsoCommandBarButtonHyperlinkType with get, set
Public Overridable Property HyperlinkType As MsoCommandBarButtonHyperlinkType

Property Value

Implements

Examples

This example checks the HyperlinkType property for the specified command bar button on the command bar named "Custom.". If HyperlinkType is set to msoCommandBarButtonHyperlinkNone, the example sets the property to msoCommandBarButtonHyperlinkOpen and sets the URL to www.microsoft.com.

Applies to