ProvideLanguageServiceAttribute.ShowHotURLs Property
Determines if URLs are displayed in such a way as to show they can be clicked. This option is not used.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣告
Public Property ShowHotURLs As Boolean
public bool ShowHotURLs { get; set; }
Property Value
Type: System.Boolean
Returns true if URLs are to be displayed "hot" or clickable; otherwise, returns false.
Remarks
This property is not currently used by Visual Studio and should not be set.
This property is available for any language service implementation.
The default is false.
The registry entry looks like this:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\[X.Y]\Languages\Language Services\
[Language Name]\
ShowHotURLs = reg_dword: 0x00000001
Examples
[ProvideLanguageService(typeof(MyLanguageService), // Required
MyConstants.languageName, // Required
MyConstants.languageNameResourceID, // Required
// Optional language service properties
ShowHotURLs = true, // drop down bar options are supported
)]
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.