IModelAnnotationHolder.GetAnnotations Method (Type)
Returns a list of attached annotations of the given type.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Function GetAnnotations ( _
annotationType As Type _
) As IList(Of IModelAnnotation)
IList<IModelAnnotation> GetAnnotations(
Type annotationType
)
IList<IModelAnnotation^>^ GetAnnotations(
Type^ annotationType
)
abstract GetAnnotations :
annotationType:Type -> IList<IModelAnnotation>
function GetAnnotations(
annotationType : Type
) : IList<IModelAnnotation>
Parameters
- annotationType
Type: System.Type
Specifies the IModelAnnotation type.
Return Value
Type: System.Collections.Generic.IList<IModelAnnotation>
A list containing the selected model 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.
See Also
Reference
IModelAnnotationHolder Interface