Click or drag to resize
Json.NET

JTokenAnnotationsT Method

 
Gets a collection of annotations of the specified type for this JToken.

Namespace:  Newtonsoft.Json.Linq
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
public IEnumerable<T> Annotations<T>()
where T : class

Type Parameters

T
The type of the annotations to retrieve.

Return Value

Type: IEnumerableT
An IEnumerableT that contains the annotations for this JToken.
See Also