ModelStore.Element.GetAnnotations Method (Type)
Returns all attached annotations that implement 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)
'Usage
Dim instance As ModelStore..::..Element
Dim annotationType As Type
Dim returnValue As IList(Of IModelAnnotation)
returnValue = instance.GetAnnotations(annotationType)
public IList<IModelAnnotation> GetAnnotations(
Type annotationType
)
public:
virtual IList<IModelAnnotation^>^ GetAnnotations(
Type^ annotationType
) sealed
public final function GetAnnotations(
annotationType : Type
) : IList<IModelAnnotation>
abstract GetAnnotations :
annotationType:Type -> IList<IModelAnnotation>
override GetAnnotations :
annotationType:Type -> IList<IModelAnnotation>
Parameters
- annotationType
Type: System.Type
The given type
Return Value
Type: System.Collections.Generic.IList<IModelAnnotation>
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.