ModelStore.GetAnnotations Method (Type)
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 GetAnnotations ( _
annotationType As Type _
) As IList(Of IModelAnnotation)
public IList<IModelAnnotation> GetAnnotations(
Type annotationType
)
public:
virtual IList<IModelAnnotation^>^ GetAnnotations(
Type^ annotationType
) sealed
abstract GetAnnotations :
annotationType:Type -> IList<IModelAnnotation>
override GetAnnotations :
annotationType:Type -> IList<IModelAnnotation>
public final function GetAnnotations(
annotationType : Type
) : IList<IModelAnnotation>
Parameters
- annotationType
Type: System.Type
A Type that is derived from IModelAnnotation.
Return Value
Type: System.Collections.Generic.IList<IModelAnnotation>
A list of annotations.
Implements
IModelAnnotationHolder.GetAnnotations(Type)
.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.