ODataAnnotatable.GetAnnotation<T> Method ()
Gets or sets the annotation by type.
Namespace: Microsoft.OData.Core
Assembly: Microsoft.OData.Core (in Microsoft.OData.Core.dll)
Syntax
public T GetAnnotation<T>()
where T : class
public:
generic<typename T>
where T : ref class
T GetAnnotation()
member GetAnnotation<'T when 'T : not struct> : unit -> 'T
Public Function GetAnnotation(Of T As Class) As T
Return Value
Type: T
The annotation of type T or null if not present.
Type Parameters
- T
The type of the annotation.
See Also
ODataAnnotatable Class
Microsoft.OData.Core Namespace
Return to top