Skip to main contentGet
1
2
3
public dynamic Get(string fieldName, bool autoResolve = true)
{
}
1
2
// Get the title field as dynamic
dynamic title = entry.Get("title")
Get <T>
1
2
3
public T Get<T>(string fieldName, bool autoResolve = true)
{
}
1
2
// Get the title field as defined type
string title = entry.Get<string>("title")
HasValue
1
2
3
public bool HasValue(string fieldName)
{
}
1
2
3
4
5
if (entry.HasValue("title"))
{
// Get the location field as type
Location title = entry.Get<Location>("filmingLocation")
}