Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets an annotation of type T.
Namespace: Microsoft.Data.OData
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
Public Sub SetAnnotation(Of T As Class) ( _
annotation As T _
)
'Usage
Dim instance As ODataAnnotatable
Dim annotation As T
instance.SetAnnotation(annotation)
public void SetAnnotation<T>(
T annotation
)
where T : class
public:
generic<typename T>
where T : ref class
void SetAnnotation(
T annotation
)
member SetAnnotation :
annotation:'T -> unit when 'T : not struct
JScript does not support generic types and methods.
Type Parameters
- T
The type of the annotation.
Parameters
- annotation
Type: T
The annotation to set.