Method TryGetBuiltInData
TryGetBuiltInData<T>(string, out T)
Try to find the data of the given built-in data type with the given name and deserialize it.
Declaration
public bool TryGetBuiltInData<T>(string fieldName, out T data) where T : IComparable, IConvertible, IComparable<T>, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
string | fieldName | The name of the data to retrieve. |
T | data | The deserialized data if it was found. |
Returns
Type | Description |
---|---|
bool | Returns true if the data was found and deserialized; returns false otherwise. |
Type Parameters
Name | Description |
---|---|
T | Any built-in data type from C# except char. |