GetAnnotation(T) Method (IEdmAnnotatable)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Namespace: Microsoft.Data.Edm
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function GetAnnotation(Of T As Class) ( _
annotatable As IEdmAnnotatable _
) As T
'Usage
Dim annotatable As IEdmAnnotatable
Dim returnValue As T
returnValue = annotatable.GetAnnotation()
public static T GetAnnotation<T>(
this IEdmAnnotatable annotatable
)
where T : class
[ExtensionAttribute]
public:
generic<typename T>
where T : ref class
static T GetAnnotation(
IEdmAnnotatable^ annotatable
)
static member GetAnnotation :
annotatable:IEdmAnnotatable -> 'T when 'T : not struct
JScript does not support generic types and methods.
Type Parameters
- T
Parameters
- annotatable
Type: Microsoft.Data.Edm..::..IEdmAnnotatable
Return Value
Type: T
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IEdmAnnotatable. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.103) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).