Compartir a través de


FeatureConnector<TFeatureProviderType>.CreateFeatureProviders (Método) (Type)

Crea una nueva lista de proveedores de características asociada al conector de características, según el objeto tipo proporcionado.

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

Sintaxis

'Declaración
Protected Function CreateFeatureProviders ( _
    type As Type _
) As IEnumerable(Of TFeatureProviderType)
protected IEnumerable<TFeatureProviderType> CreateFeatureProviders(
    Type type
)
protected:
IEnumerable<TFeatureProviderType>^ CreateFeatureProviders(
    Type^ type
)
member CreateFeatureProviders : 
        type:Type -> IEnumerable<'TFeatureProviderType> 
protected function CreateFeatureProviders(
    type : Type
) : IEnumerable<TFeatureProviderType>

Parámetros

  • type
    Tipo: System.Type
    El objeto Type al que hacer consultas sobre proveedores de características.

Valor devuelto

Tipo: System.Collections.Generic.IEnumerable<TFeatureProviderType>
Enumeración de proveedores de características.

Excepciones

Excepción Condición
ArgumentNullException

El valor de type es nullreferencia null (Nothing en Visual Basic).

Comentarios

Los proveedores de características se detectan a través de la reflexión de los atributos en type.

Seguridad de .NET Framework

Vea también

Referencia

FeatureConnector<TFeatureProviderType> Clase

CreateFeatureProviders (Sobrecarga)

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

FeatureProvider

FeatureConnectorAttribute

Otros recursos

Proveedores de características y conectores de características

Introducción a la extensibilidad de WPF Designer