Udostępnij za pośrednictwem


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.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Declaration
Public Property ShowHotURLs As Boolean
public bool ShowHotURLs { get; set; }
public:
property bool ShowHotURLs {
    bool get ();
    void set (bool value);
}
member ShowHotURLs : bool with get, set
function get ShowHotURLs () : boolean
function set ShowHotURLs (value : boolean)

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

See Also

Reference

ProvideLanguageServiceAttribute Class

Microsoft.VisualStudio.Shell Namespace