Partager via


LanguagePreferences.EnableLeftClickForURLs Property

Gets or sets whether or not URLs in the code can be navigated to by a simple click.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'Déclaration
Public Property EnableLeftClickForURLs As Boolean
    Get
    Set
'Utilisation
Dim instance As LanguagePreferences
Dim value As Boolean

value = instance.EnableLeftClickForURLs

instance.EnableLeftClickForURLs = value
public bool EnableLeftClickForURLs { get; set; }
public:
property bool EnableLeftClickForURLs {
    bool get ();
    void set (bool value);
}
member EnableLeftClickForURLs : bool with get, set
function get EnableLeftClickForURLs () : boolean
function set EnableLeftClickForURLs (value : boolean)

Property Value

Type: System.Boolean
true if URLs can be navigated with a single click, otherwise false = either URLs cannot be clicked on or the control key must be held down while clicking.

Remarks

This property affects the preferences value fHotURLs.

.NET Framework Security

See Also

Reference

LanguagePreferences Class

LanguagePreferences Members

Microsoft.VisualStudio.Package Namespace