Compartir a través de


FeatureManager.GetCustomAttributes (Método)

Enumera los atributos en el tipo especificado.

Espacio de nombres:  Microsoft.Windows.Design.Features
Ensamblado:  Microsoft.Windows.Design.Extensibility (en Microsoft.Windows.Design.Extensibility.dll)

Sintaxis

'Declaración
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>

Parámetros

  • type
    Tipo: System.Type
    El tipo cuyos atributos se van a enumerar.
  • attributeType
    Tipo: System.Type
    Tipo de atributo que se va a devolver.

Valor devuelto

Tipo: System.Collections.Generic.IEnumerable<Object>
Una enumeración de atributos personalizados.

Seguridad de .NET Framework

Vea también

Referencia

FeatureManager Clase

Microsoft.Windows.Design.Features (Espacio de nombres)

FeatureProvider

FeatureConnector<TFeatureProviderType>

Otros recursos

Proveedores de características y conectores de características

Introducción a la extensibilidad de WPF Designer