ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc.Sheet Namespace / FlexSheetRequestModelBinder Class / DeserializeModel Method
The string used to deserialize.
The type of the model.






In This Topic
    DeserializeModel Method (FlexSheetRequestModelBinder)
    In This Topic
    Deserializes the model.
    Syntax
    'Declaration
     
    
    Protected Overrides Function DeserializeModel( _
       ByVal text As System.String, _
       ByVal modelType As System.Type _
    ) As System.Object
    'Usage
     
    
    Dim instance As FlexSheetRequestModelBinder
    Dim text As System.String
    Dim modelType As System.Type
    Dim value As System.Object
     
    value = instance.DeserializeModel(text, modelType)
    protected override System.object DeserializeModel( 
       System.string text,
       System.Type modelType
    )
    protected function DeserializeModel( 
        text: System.String;
        modelType: System.Type
    ): System.TObject; override; 
    protected override function DeserializeModel( 
       text : System.String,
       modelType : System.Type
    ) : System.Object;
    protected: System.Object* DeserializeModel( 
       System.string* text,
       System.Type* modelType
    ) override 
    protected:
    System.Object^ DeserializeModel( 
       System.String^ text,
       System.Type^ modelType
    ) override 

    Parameters

    text
    The string used to deserialize.
    modelType
    The type of the model.

    Return Value

    The model.
    See Also