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
- Полное доверие для непосредственно вызывающего метода. Этот член не может быть использован частично доверенным кодом. Дополнительные сведения см. в разделе Использование библиотек из не вполне надежного кода.
См. также
Ссылки
Microsoft.Windows.Design.Features - пространство имен
FeatureConnector<TFeatureProviderType>