IModelAnnotationHolder.GetAnnotations Method (ModelIdentifier, Type)
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Function GetAnnotations ( _
identifier As ModelIdentifier, _
annotationType As Type _
) As IList(Of IModelAnnotation)
IList<IModelAnnotation> GetAnnotations(
ModelIdentifier identifier,
Type annotationType
)
IList<IModelAnnotation^>^ GetAnnotations(
ModelIdentifier^ identifier,
Type^ annotationType
)
abstract GetAnnotations :
identifier:ModelIdentifier *
annotationType:Type -> IList<IModelAnnotation>
function GetAnnotations(
identifier : ModelIdentifier,
annotationType : Type
) : IList<IModelAnnotation>
Parameters
- identifier
Type: Microsoft.Data.Schema.SchemaModel.ModelIdentifier
- annotationType
Type: System.Type
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.