Class DataUtils
Class to get data using path.
Inheritance
System.Object
DataUtils
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Shared.Utils
Assembly: Syncfusion.Shared.Wpf.dll
Syntax
public static class DataUtils
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. |