ModelProperty.GetAttributes - метод (TypeIdentifier)

Получает атрибуты запрошенного типа, объявленные для этого свойства и его типа.

Пространство имен:  Microsoft.Windows.Design.Model
Сборка:  Microsoft.Windows.Design.Interaction (в Microsoft.Windows.Design.Interaction.dll)

Синтаксис

'Декларация
Public Overridable Function GetAttributes ( _
    attributeTypeIdentifier As TypeIdentifier _
) As IEnumerable(Of Object)
public virtual IEnumerable<Object> GetAttributes(
    TypeIdentifier attributeTypeIdentifier
)
public:
virtual IEnumerable<Object^>^ GetAttributes(
    TypeIdentifier attributeTypeIdentifier
)
abstract GetAttributes : 
        attributeTypeIdentifier:TypeIdentifier -> IEnumerable<Object> 
override GetAttributes : 
        attributeTypeIdentifier:TypeIdentifier -> IEnumerable<Object> 
public function GetAttributes(
    attributeTypeIdentifier : TypeIdentifier
) : IEnumerable<Object>

Параметры

Возвращаемое значение

Тип: System.Collections.Generic.IEnumerable<Object>
Коллекция атрибутов запрошенного типа, объявленных для этого свойства и его типа.

Безопасность платформы .NET Framework

См. также

Ссылки

ModelProperty Класс

GetAttributes - перегрузка

Microsoft.Windows.Design.Model - пространство имен

Другие ресурсы

Архитектура расширяемости конструктора WPF