Skip to main content

Get

C#
1
2
3
public dynamic Get(string fieldName, bool autoResolve = true) { }
C#
1
2
// Get the title field as dynamic dynamic title = entry.Get("title")

Get <T>

C#
1
2
3
public T Get<T>(string fieldName, bool autoResolve = true) { }
C#
1
2
// Get the title field as defined type string title = entry.Get<string>("title")

HasValue

C#
1
2
3
public bool HasValue(string fieldName) { }
C#
1
2
3
4
5
if (entry.HasValue("title")) { // Get the location field as type Location title = entry.Get<Location>("filmingLocation") }

Still need help?

New support request