[]
        
(Showing Draft Content)

C1.Win.Themes.C1Theme.GetInt

GetInt Method

GetInt(string)

Gets an integer value specified by a path.

Declaration
public int GetInt(string path)
Public Function GetInt(path As String) As Integer
Parameters
Type Name Description
string path

The target path.

Returns
Type Description
int

The integer value specified by path.

GetInt(string, int)

Gets an integer value specified by a path.

Declaration
public int GetInt(string path, int defaultValue)
Public Function GetInt(path As String, defaultValue As Integer) As Integer
Parameters
Type Name Description
string path

The target path.

int defaultValue

Used if value at specified path does not exist.

Returns
Type Description
int

The integer value specified by path or if value at specified path does not exist.