Aracılığıyla paylaş


ModelElement.GetAnnotations Yöntem (ModelIdentifier, Type)

Geçerli öğenin alt öğesi belirtilen öğesi için eklenmiş olan açıklamaları belirtilen türde bir 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 ( _
    identifier As ModelIdentifier, _
    annotationType As Type _
) As IList(Of IModelAnnotation)
public IList<IModelAnnotation> GetAnnotations(
    ModelIdentifier identifier,
    Type annotationType
)
public:
virtual IList<IModelAnnotation^>^ GetAnnotations(
    ModelIdentifier^ identifier, 
    Type^ annotationType
) sealed
abstract GetAnnotations : 
        identifier:ModelIdentifier * 
        annotationType:Type -> IList<IModelAnnotation> 
override GetAnnotations : 
        identifier:ModelIdentifier * 
        annotationType:Type -> IList<IModelAnnotation> 
public final function GetAnnotations(
    identifier : ModelIdentifier, 
    annotationType : Type
) : IList<IModelAnnotation>

Parametreler

Dönüş Değeri

Tür: System.Collections.Generic.IList<IModelAnnotation>
Bir IList<T> Nesne türü IModelAnnotation, veya türetilmiş bir tür.

Yüklenen

IModelAnnotationHolder.GetAnnotations(ModelIdentifier, Type)

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

ModelElement Sınıf

GetAnnotations Fazla Yük

Microsoft.Data.Schema.SchemaModel Ad Alanı

ModelIdentifier

IModelAnnotation

GetAnnotations