Compartir a través de


IStructureContextSourceProvider.CreateStructureContextSource Method

Definition

Creates a structure context source for the given text view.

public:
 Microsoft::VisualStudio::Text::Adornments::IStructureContextSource ^ CreateStructureContextSource(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView);
public Microsoft.VisualStudio.Text.Adornments.IStructureContextSource CreateStructureContextSource (Microsoft.VisualStudio.Text.Editor.ITextView textView);
abstract member CreateStructureContextSource : Microsoft.VisualStudio.Text.Editor.ITextView -> Microsoft.VisualStudio.Text.Adornments.IStructureContextSource
Public Function CreateStructureContextSource (textView As ITextView) As IStructureContextSource

Parameters

textView
ITextView

The text view for which to create an IStructureContextSource.

Returns

A valid IStructureContextSource instance, or null if none could be created.

Applies to