Sdílet prostřednictvím


LanguageService.GetOrCreateSource(IVsTextLines) Method

Definition

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.

Applies to