PropertiesGetT(String, T) Method |
Retrieves a single element from this Properties-container.
Namespace: Altaxo.Main.ServicesAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic T Get<T>(
string key,
T defaultValue
)
Parameters
- key String
- Key of the item to retrieve
- defaultValue T
- Default value to be returned if the key is not present.
Type Parameters
- T
- The type of the value to retrieve.
Return Value
TThe stored value if present and convertible; otherwise,
defaultValue.
See Also