IStructureContextSourceProvider.CreateStructureContextSource Method
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.
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.