GetInt

GetInt(int, int)

public int GetInt(int id, int defaultValue) ;

Description

Get the value of the Int type.

Parameters

Parameter Name Description
id ID.
defaultValue Default value. It is returned when there is no parameter.

Returns

The value of the parameter. If there is no parameter, it returns defaultValue.

GetInt(string, int)

public int GetInt(string name, int defaultValue) ;

Description

Get the value of the Int type.

Parameters

Parameter Name Description
name Name.
defaultValue Default value. It is returned when there is no parameter.

Returns

The value of the parameter. If there is no parameter, it returns defaultValue.

GetInt(string, out int)

Obsolete public bool GetInt(string name, out int value) ;

Description

Get the value of the Int type.

Parameters

Parameter Name Description
name Name.
value Value.

Returns

The true when there parameters of the specified name.

GetInt(int, out int)

Obsolete public bool GetInt(int id, out int value) ;

Description

Get the value of the Int type.

Parameters

Parameter Name Description
id ID.
value Value.

Returns

The true when there parameters of the specified name.