Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
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.