Method | Description | |
---|---|---|
GetValueAsBool ( |
Parse the inner text of element with the given name as a boolean. If element is missing or parsing fails then throws an ArgumentException.
|
|
GetValueAsDouble ( |
Parse the inner text of element with the given name as a double. If element is missing or parsing fails then throws an ArgumentException.
|
|
GetValueAsInt ( |
Parse the inner text of element with the given name as an integer. If element is missing or parsing fails then throws an ArgumentException.
|
|
GetValueAsString ( |
Read the inner text of element with the given name. If element is missing then throws an ArgumentException.
|
|
TryGetValueAsBool ( |
Parse the inner text of element with the given name as a boolean. If element is missing or parsing fails then returns null.
|
|
TryGetValueAsDouble ( |
Parse the inner text of element with the given name as a double. If element is missing or parsing fails then returns null.
|
|
TryGetValueAsInt ( |
Parse the inner text of element with the given name as an integer. If element is missing or parsing fails then returns null.
|
|
TryGetValueAsString ( |
Read the inner text of element with the given name. If element is missing then returns null.
|
public static GetValueAsBool ( |
||
xmlParent | ||
elemName | string | |
return | bool |
public static GetValueAsDouble ( |
||
xmlParent | ||
elemName | string | |
return | double |
public static GetValueAsInt ( |
||
xmlParent | ||
elemName | string | |
return | int |
public static GetValueAsString ( |
||
xmlParent | ||
elemName | string | |
return | string |
public static TryGetValueAsBool ( |
||
xmlParent | ||
elemName | string | |
return | bool? |
public static TryGetValueAsDouble ( |
||
xmlParent | ||
elemName | string | |
return | double? |
public static TryGetValueAsInt ( |
||
xmlParent | ||
elemName | string | |
return | int? |
public static TryGetValueAsString ( |
||
xmlParent | ||
elemName | string | |
return | string |