Share via


LanguagePreferences.AutoOutlining Property

Gets or sets whether or not auto-outlining is supported outlining (this requires parser support for hidden regions).

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

Syntax

'Declaration
Public Property AutoOutlining As Boolean
'Usage
Dim instance As LanguagePreferences 
Dim value As Boolean 

value = instance.AutoOutlining

instance.AutoOutlining = value
public bool AutoOutlining { get; set; }
public:
property bool AutoOutlining {
    bool get ();
    void set (bool value);
}
public function get AutoOutlining () : boolean 
public function set AutoOutlining (value : boolean)

Property Value

Type: System.Boolean
true if auto-outlining is supported, otherwise false.

Remarks

This property is associated with the registry entry AutoOutlining.

In the base property, even though this property can be set, the value is not written back to the registry. The base LanguagePreferences class sets this value to a default of true.

.NET Framework Security

See Also

Reference

LanguagePreferences Class

LanguagePreferences Members

Microsoft.VisualStudio.Package Namespace