ModelElement.GetAnnotations<TType> Yöntem (ModelIdentifier)
Belirtilen öğeye bağlı ve sağlanan türü eşleşen ek açıklamaları listesini alır Type.
Ad alanı: Microsoft.Data.Schema.SchemaModel
Derleme: Microsoft.Data.Schema (Microsoft.Data.Schema.dll içinde)
Sözdizimi
'Bildirim
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 genel türleri veya yöntemleri desteklemez.
Tür Parametreleri
- TType
A Type , miras IModelAnnotation.
Parametreler
- identifier
Tür: Microsoft.Data.Schema.SchemaModel.ModelIdentifier
A ModelIdentifier nesne tanıtan bir öğe.
Dönüş Değeri
Tür: System.Collections.Generic.IList<TType>
An IList<T> of type TType.
.NET Framework Güvenliği
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. kısmen güvenilir kod tarafından Kitaplıklar kullanma.