Class SystemInfo
Definition
- Assembly:
- Tizen.System.Information.dll
The SystemInfo class provides static system feature. Please use Tizen.System.Information class. Information class supports same function.
public static class SystemInfo
- Inheritance
-
objectSystemInfo
Methods
View SourceTryGetValue(string, out bool)
Gets the bool value of the feature.
Declaration
public static bool TryGetValue(string key, out bool value)
Parameters
Type | Name | Description |
---|---|---|
string | key | The name of the feature. |
bool | value | The value of the given feature. |
Returns
Type | Description |
---|---|
bool | Returns true on success, otherwise false. |
TryGetValue(string, out double)
Gets the double value of the feature.
Declaration
public static bool TryGetValue(string key, out double value)
Parameters
Type | Name | Description |
---|---|---|
string | key | The name of the feature. |
double | value | The value of the given feature. |
Returns
Type | Description |
---|---|
bool | Returns true on success, otherwise false. |
TryGetValue(string, out int)
Gets the int value of the feature.
Declaration
public static bool TryGetValue(string key, out int value)
Parameters
Type | Name | Description |
---|---|---|
string | key | The name of the feature. |
int | value | The value of the given feature. |
Returns
Type | Description |
---|---|
bool | Returns true on success, otherwise false. |
TryGetValue(string, out string)
Gets the string value of the feature.
Declaration
public static bool TryGetValue(string key, out string value)
Parameters
Type | Name | Description |
---|---|---|
string | key | The name of the feature. |
string | value | The value of the given feature. |
Returns
Type | Description |
---|---|
bool | Returns true on success, otherwise false. |
TryGetValue<T>(string, out T)
Gets the value of the feature.
Declaration
public static bool TryGetValue<T>(string key, out T value)
Parameters
Type | Name | Description |
---|---|---|
string | key | The name of the feature. |
T | value | The value of the given feature. |
Returns
Type | Description |
---|---|
bool | Returns true on success, otherwise false. |
Type Parameters
Name | Description |
---|---|
T | Type of key value. |