IModelAnnotationHolder.GetAnnotations Method (ModelStore.Identifier)
Returns a list of attached annotations that are named with the given identifier.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Function GetAnnotations ( _
identifier As ModelStore..::..Identifier _
) As IList(Of IModelAnnotation)
'Usage
Dim instance As IModelAnnotationHolder
Dim identifier As ModelStore..::..Identifier
Dim returnValue As IList(Of IModelAnnotation)
returnValue = instance.GetAnnotations(identifier)
IList<IModelAnnotation> GetAnnotations(
ModelStore..::..Identifier identifier
)
IList<IModelAnnotation^>^ GetAnnotations(
ModelStore..::..Identifier^ identifier
)
function GetAnnotations(
identifier : ModelStore..::..Identifier
) : IList<IModelAnnotation>
abstract GetAnnotations :
identifier:ModelStore..::..Identifier -> IList<IModelAnnotation>
Parameters
- identifier
Type: Microsoft.Data.Schema.SchemaModel.ModelStore.Identifier
Specifies the identifier
Return Value
Type: System.Collections.Generic.IList<IModelAnnotation>
.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