IModelAnnotationHolder.GetAnnotations<TType> Method (ModelIdentifier)
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Function GetAnnotations(Of TType As {Class, IModelAnnotation}) ( _
identifier As ModelIdentifier _
) As IList(Of TType)
IList<TType> GetAnnotations<TType>(
ModelIdentifier identifier
)
where TType : class, IModelAnnotation
generic<typename TType>
where TType : ref class, IModelAnnotation
IList<TType>^ GetAnnotations(
ModelIdentifier^ identifier
)
abstract GetAnnotations :
identifier:ModelIdentifier -> IList<'TType> when 'TType : not struct and IModelAnnotation
JScript does not support generic types or methods.
Type Parameters
- TType
Parameters
- identifier
Type: Microsoft.Data.Schema.SchemaModel.ModelIdentifier
Return Value
Type: System.Collections.Generic.IList<TType>
.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.