ICommonEditorAssetServiceFactory.GetOrCreate(ITextBuffer) 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.
Gets a service that provides common language service elements.
public:
Microsoft::VisualStudio::Editor::ICommonEditorAssetService ^ GetOrCreate(Microsoft::VisualStudio::Text::ITextBuffer ^ textBuffer);
public Microsoft.VisualStudio.Editor.ICommonEditorAssetService GetOrCreate (Microsoft.VisualStudio.Text.ITextBuffer textBuffer);
abstract member GetOrCreate : Microsoft.VisualStudio.Text.ITextBuffer -> Microsoft.VisualStudio.Editor.ICommonEditorAssetService
Public Function GetOrCreate (textBuffer As ITextBuffer) As ICommonEditorAssetService
Parameters
- textBuffer
- ITextBuffer
The ITextBuffer for which to initialize TextMate.
Returns
An instance of ICommonEditorAssetService.
Remarks
This method supports the Visual Studio infrastructure and in general is not intended to be used directly from your code.