IModelAnnotationHolder Interface
Represents a class that can have attached annotations.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Interface IModelAnnotationHolder
public interface IModelAnnotationHolder
public interface class IModelAnnotationHolder
type IModelAnnotationHolder = interface end
public interface IModelAnnotationHolder
The IModelAnnotationHolder type exposes the following members.
Methods
Name | Description | |
---|---|---|
AddAnnotation | Adds the given annotation to this element. | |
GetAnnotations() | Returns a list of annotations attached to this element. | |
GetAnnotations(Type) | Returns a list of attached annotations of the given type. | |
GetAnnotations(ModelIdentifier) | Returns a list of attached annotations that have the given identifier. | |
GetAnnotations(ModelIdentifier, Type) | ||
GetAnnotations<TType>() | Returns all attached model annotations that implement the given annotation type and have the specified model identifier. | |
GetAnnotations<TType>(ModelIdentifier) | ||
RemoveAnnotation | Removes the specified annotation from this model element. |
Top