Skip to main content
C#
1
2
3
4
5
6
7
8
// Create a client var client = ContensisClient.Create(); // Get an entry var movie = client.Entries.Get("c68054c1-6ce8-4e9c-94d3-3d8332c85352"); // Get the field value as a taxonomy node var genreNode = movie.Get<TaxonomyNode>("genre");
C#
1
2
3
4
5
6
7
// Accessing the Children property resolves the child nodes <ul> @foreach(var node in genreNode.Children) { <li>@node.Name</li> } </ul>

Still need help?

New support request