Class DataUtils
Class to get data using path.
Inheritance
System.Object
DataUtils
Namespace: Syncfusion.Windows.Shared.Utils
Assembly: Syncfusion.Shared.WPF.dll
Syntax
public static class DataUtils : Object
Methods
ConvertToDouble(Object)
Converts to double.
Declaration
public static double ConvertToDouble(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The object value. |
Returns
Type | Description |
---|---|
System.Double | double value date time |
GetDoubleByPath(Object, String)
Gets the double by path.
Declaration
public static double GetDoubleByPath(object obj, string path)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The object value. |
System.String | path | The path value. |
Returns
Type | Description |
---|---|
System.Double | double value from path |
GetObjectByPath(Object, String)
Gets the object by path.
Declaration
public static object GetObjectByPath(object obj, string path)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The object value. |
System.String | path | The path value. |
Returns
Type | Description |
---|---|
System.Object | Xml element attribute. |