Method TryGetCustomData
TryGetCustomData<T>(string, out T)
Try to find the data with the given name and deserialize it.
Declaration
public bool TryGetCustomData<T>(string fieldName, out T data) where T : IDictionaryConvertible, new()
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 IDictionaryConvertible object that have a default constructor. |