LanguageService.GetOrCreateSource(IVsTextLines) 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 the source if it is available, otherwise creates one.
public:
Microsoft::VisualStudio::Package::Source ^ GetOrCreateSource(Microsoft::VisualStudio::TextManager::Interop::IVsTextLines ^ buffer);
public Microsoft.VisualStudio.Package.Source GetOrCreateSource (Microsoft.VisualStudio.TextManager.Interop.IVsTextLines buffer);
member this.GetOrCreateSource : Microsoft.VisualStudio.TextManager.Interop.IVsTextLines -> Microsoft.VisualStudio.Package.Source
Public Function GetOrCreateSource (buffer As IVsTextLines) As Source
Parameters
- buffer
- IVsTextLines
The buffer.
Returns
The source.