ICommandingTextBufferResolver.ResolveBuffersForCommand<TArgs> Method
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.
Given a command type, resolves a list of text buffers on which a command should be executed.
C++
public:
generic <typename TArgs>
where TArgs : Microsoft::VisualStudio::Text::Editor::Commanding::EditorCommandArgs System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Text::ITextBuffer ^> ^ ResolveBuffersForCommand();
public System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Text.ITextBuffer> ResolveBuffersForCommand<TArgs>() where TArgs : Microsoft.VisualStudio.Text.Editor.Commanding.EditorCommandArgs;
abstract member ResolveBuffersForCommand : unit -> seq<Microsoft.VisualStudio.Text.ITextBuffer> (requires 'Args :> Microsoft.VisualStudio.Text.Editor.Commanding.EditorCommandArgs)
Public Function ResolveBuffersForCommand(Of TArgs As EditorCommandArgs) () As IEnumerable(Of ITextBuffer)
- TArgs
Command type.
A list of text buffers on which a command should be executed.
Tuote | Versiot |
---|---|
Visual Studio SDK | 2017, 2019, 2022 |