ModelStore.GetAllAnnotations<TType> Method
Returns a list of the annotations on the model that implements the given type.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Function GetAllAnnotations(Of TType As {Class, IModelAnnotation}) As IList(Of TType)
public IList<TType> GetAllAnnotations<TType>()
where TType : class, IModelAnnotation
public:
generic<typename TType>
where TType : ref class, IModelAnnotation
IList<TType>^ GetAllAnnotations()
member GetAllAnnotations : unit -> IList<'TType> when 'TType : not struct and IModelAnnotation
JScript does not support generic types or methods.
Type Parameters
- TType
A Type that is derived from IModelAnnotation.
Return Value
Type: System.Collections.Generic.IList<TType>
A list of annotations.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.