MindFusion.Charting for WPF Programmer's Guide
Converter.ToInt32 Method (String, Int32)
See Also
 





Converts the specified string value to a 32-bit integer without throwing exceptions. In case the specified string cannot be converted, the specified default value is returned.

Namespace: MindFusion.Charting.Wpf
Assembly: MindFusion.Charting.Wpf

 Syntax

C#  Copy Code

public static int ToInt32 (
    string s,
    int defaultValue
)

Visual Basic  Copy Code

Public Shared Function ToInt32( _
    s As String, _
    defaultValue As Integer _
) As Integer

 Parameters

s

The string value to convert from.

defaultValue

The default value to return if s cannot be deserialized.

 Return Value

A 32-bit integer value that is deserialized from the specified string.

 See Also

ToInt32 Method Overload List
Converter Members
Converter Class
MindFusion.Charting.Wpf Namespace