Source.OutliningEnabled 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.
Gets or sets whether outlining is currently enabled.
public:
 virtual property bool OutliningEnabled { bool get(); void set(bool value); };public:
 virtual property bool OutliningEnabled { bool get(); void set(bool value); };public virtual bool OutliningEnabled { get; set; }member this.OutliningEnabled : bool with get, setPublic Overridable Property OutliningEnabled As BooleanProperty Value
true if outlining is enabled, otherwise false.
Remarks
The initial state of outlining is determined by reading the <xref:Microsoft.VisualStudio.Package.LanguagePreferences.EnableAutoOutlining%2A> property on the LanguagePreferences object in the Source class constructor. Outlining uses hidden regions to show or hide sections of text.
See Outlining in a Legacy Language Service for more information about how outlining is supported in a language service.