Поделиться через


FeatureManager.GetCustomAttributes - метод

Перечисляет атрибуты указанного типа.

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

Синтаксис

'Декларация
Public Function GetCustomAttributes ( _
    type As Type, _
    attributeType As Type _
) As IEnumerable(Of Object)
public IEnumerable<Object> GetCustomAttributes(
    Type type,
    Type attributeType
)
public:
IEnumerable<Object^>^ GetCustomAttributes(
    Type^ type, 
    Type^ attributeType
)
member GetCustomAttributes : 
        type:Type * 
        attributeType:Type -> IEnumerable<Object> 
public function GetCustomAttributes(
    type : Type, 
    attributeType : Type
) : IEnumerable<Object>

Параметры

  • type
    Тип: System.Type
    Тип, атрибуты которого необходимо перечислить.
  • attributeType
    Тип: System.Type
    Тип возвращаемого атрибута.

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

Тип: System.Collections.Generic.IEnumerable<Object>
Перечисление настраиваемых атрибутов.

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

См. также

Ссылки

FeatureManager Класс

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

FeatureProvider

FeatureConnector<TFeatureProviderType>

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

Поставщики функций и соединительные элементы

Общее представление о расширяемости конструктора WPF