ModelBinder.CreateInstance(BindingContext) 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.
Creates an instance of the target model type.
public:
System::Object ^ CreateInstance(System::CommandLine::Binding::BindingContext ^ bindingContext);
public object? CreateInstance(System.CommandLine.Binding.BindingContext bindingContext);
member this.CreateInstance : System.CommandLine.Binding.BindingContext -> obj
Public Function CreateInstance (bindingContext As BindingContext) As Object
Parameters
- bindingContext
- BindingContext
The binding context from which values are resolved.
Returns
An instance created from the values in the binding context.