BindingContextExtensions.GetBindingContext(ParseResult) 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 binding context for the specified parse result.
public:
[System::Runtime::CompilerServices::Extension]
static System::CommandLine::Binding::BindingContext ^ GetBindingContext(System::CommandLine::ParseResult ^ parseResult);
public static System.CommandLine.Binding.BindingContext GetBindingContext(this System.CommandLine.ParseResult parseResult);
static member GetBindingContext : System.CommandLine.ParseResult -> System.CommandLine.Binding.BindingContext
<Extension()>
Public Function GetBindingContext (parseResult As ParseResult) As BindingContext
Parameters
- parseResult
- ParseResult
The parse result from the command line parsing.
Returns
The binding context associated with the parse result.