Properties.get

Gets the value of a property, or returns the specified default value if the given property doesn't exist.

struct Properties
string
get
(
string key
,
string defaultValue = null
)

Parameters

key string

The property name.

defaultValue string

The default value to use, if no property exists.

Return Value

Type: string

The value of the property, or the default value if the property doesn't exist.

Meta