menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TryParser<T> - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TryParser<T>

    This class is used to check whether the input value is parsed to output type.

    Inheritance
    System.Object
    TryParser<T>
    Implements
    ITryParser
    Namespace: Syncfusion.PivotAnalysis.UWP.Engine
    Assembly: Syncfusion.PivotAnalysis.UWP.dll
    Syntax
    public class TryParser<T> : Object, ITryParser
    Type Parameters
    Name Description
    T

    The target type

    Constructors

    TryParser(TryParseMethod<T>)

    This method returns the parsing method for target type.

    Declaration
    public TryParser(TryParseMethod<T> parsingMethod)
    Parameters
    Type Name Description
    TryParseMethod<T> parsingMethod

    The method to parse the values.

    Methods

    TryParse(String, out Object)

    This method is used to check whether the input value is parsed to the output data type.

    Declaration
    public bool TryParse(string input, out object value)
    Parameters
    Type Name Description
    System.String input

    The input value.

    System.Object value

    The output value that ensures the parsing.

    Returns
    Type
    System.Boolean

    Implements

    ITryParser

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved