IModelAnnotationHolder.GetAnnotations Method (ModelIdentifier)
Returns a list of attached annotations that have the given identifier.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Function GetAnnotations ( _
identifier As ModelIdentifier _
) As IList(Of IModelAnnotation)
IList<IModelAnnotation> GetAnnotations(
ModelIdentifier identifier
)
IList<IModelAnnotation^>^ GetAnnotations(
ModelIdentifier^ identifier
)
abstract GetAnnotations :
identifier:ModelIdentifier -> IList<IModelAnnotation>
function GetAnnotations(
identifier : ModelIdentifier
) : IList<IModelAnnotation>
Parameters
- identifier
Type: Microsoft.Data.Schema.SchemaModel.ModelIdentifier
A ModelIdentifier that specifies the identifier.
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