ModelStore.GetAnnotations<TType> Method (ModelIdentifier)
Returns all elements.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Function GetAnnotations(Of TType As {Class, IModelAnnotation}) ( _
identifier As ModelIdentifier _
) As IList(Of TType)
public IList<TType> GetAnnotations<TType>(
ModelIdentifier identifier
)
where TType : class, IModelAnnotation
public:
generic<typename TType>
where TType : ref class, IModelAnnotation
virtual IList<TType>^ GetAnnotations(
ModelIdentifier^ identifier
) sealed
abstract GetAnnotations :
identifier:ModelIdentifier -> IList<'TType> when 'TType : not struct and IModelAnnotation
override 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>
A list of model elements.
.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.