Skip to main content

Properties

Methods

C#
1
2
3
public dynamic Get(string key) { }
C#
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using Zengenti.Contensis.Delivery; // Create a client var client = ContensisClient.Create(); // Retrieve an entry var movie = client.Entries.Get("1d1d3724-3f53-4589-8ea3-b16a1f3921f5"); // Check that a metadata item exists and access it if (movie.Metadata.Keys.Contains("originalId")) { var originalId = movie.Metadata.Get("originalId"); // Use the value e.g render or pass into a query/search }
C#
1
2
3
public T Get<T>(string key) { }
C#
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using Zengenti.Contensis.Delivery; // Create a client var client = ContensisClient.Create(); // Retrieve an entry var movie = client.Entries.Get("1d1d3724-3f53-4589-8ea3-b16a1f3921f5"); // Check that a metadata item exists and access it if (movie.Metadata.Keys.Contains("originalId")) { var originalId = movie.Metadata.Get<string>("originalId"); // Use the value e.g render or pass into a query/search }

Still need help?

New support request