ModelElement.GetAnnotations<TType> Yöntem
Sağlanan tür geçerli öğeye eklenen açıklamaları listesini alır.
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}) As IList(Of TType)
public IList<TType> GetAnnotations<TType>()
where TType : class, IModelAnnotation
public:
generic<typename TType>
where TType : ref class, IModelAnnotation
virtual IList<TType>^ GetAnnotations() sealed
abstract GetAnnotations : unit -> IList<'TType> when 'TType : not struct and IModelAnnotation
override GetAnnotations : unit -> IList<'TType> when 'TType : not struct and IModelAnnotation
JScript genel türleri veya yöntemleri desteklemez.
Tür Parametreleri
- TType
A Type , miras IModelAnnotation.
Dönüş Değeri
Tür: System.Collections.Generic.IList<TType>
Bir IList<T> türü eşleşen sağlanan ek açıklamaları içeren TType Genel parametre.
.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.