GetLong

GetLong(string, long)

public long GetLong(string name, long defaultValue) ;

Description

Get the value of the Long 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.

GetLong(int, long)

public long GetLong(int id, long defaultValue) ;

Description

Get the value of the Long 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.

GetLong(string, out long)

Obsolete public bool GetLong(string name, out long value) ;

Description

Get the value of the Long type.

Parameters

Parameter Name Description
name Name.
value Value.

Returns

The true when there parameters of the specified name.

GetLong(int, out long)

Obsolete public bool GetLong(int id, out long value) ;

Description

Get the value of the Long type.

Parameters

Parameter Name Description
id ID.
value Value.

Returns

The true when there parameters of the specified name.