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 implement the given type.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Function GetAllAnnotations(Of TType As {Class, IModelAnnotation}) ( _
identifier As ModelIdentifier _
) As IList(Of TType)
public IList<TType> GetAllAnnotations<TType>(
ModelIdentifier identifier
)
where TType : class, IModelAnnotation
public:
generic<typename TType>
where TType : ref class, IModelAnnotation
IList<TType>^ GetAllAnnotations(
ModelIdentifier^ identifier
)
member GetAllAnnotations :
identifier:ModelIdentifier -> IList<'TType> when 'TType : not struct and IModelAnnotation
JScript does not support generic types or methods.
Type Parameters
- TType
A Type that is derived from IModelAnnotation.
Parameters
- identifier
Type: Microsoft.Data.Schema.SchemaModel.ModelIdentifier
A ModelIdentifier object.
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.