Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns all annotations that have the given identifier name, and that implement the given type.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Function GetAnnotations ( _
identifier As ModelIdentifier, _
annotationType As Type _
) As IList(Of IModelAnnotation)
public IList<IModelAnnotation> GetAnnotations(
ModelIdentifier identifier,
Type annotationType
)
public:
virtual IList<IModelAnnotation^>^ GetAnnotations(
ModelIdentifier^ identifier,
Type^ annotationType
) sealed
abstract GetAnnotations :
identifier:ModelIdentifier *
annotationType:Type -> IList<IModelAnnotation>
override GetAnnotations :
identifier:ModelIdentifier *
annotationType:Type -> IList<IModelAnnotation>
public final function GetAnnotations(
identifier : ModelIdentifier,
annotationType : Type
) : IList<IModelAnnotation>
Parameters
- identifier
Type: Microsoft.Data.Schema.SchemaModel.ModelIdentifier
A ModelIdentifier.
- annotationType
Type: System.Type
A Type that is derived from IModelAnnotation.
Return Value
Type: System.Collections.Generic.IList<IModelAnnotation>
Implements
IModelAnnotationHolder.GetAnnotations(ModelIdentifier, 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.