IOptionsCollection.GetSingle Method
Returns value of the option in the floating number format.
Namespace: SMath.ManagerAssembly: SMath.Manager (in SMath.Manager.dll) Version: 1.73.9126.0
float GetSingle(
string name,
float defaultValue = -1f
)
Function GetSingle (
name As String,
Optional defaultValue As Single = -1F
) As Single
float GetSingle(
String^ name,
float defaultValue = -1f
)
abstract GetSingle :
name : string *
?defaultValue : float32
-> float32
- name String
- Name of the option to retrieve.
- defaultValue Single (Optional)
- Default value to return if no option is found by the given name.
SingleA value of the option in the floating number format.