CommandBarButtonClass.HyperlinkType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.