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

Cria uma nova lista de provedores de recurso associado com o conector do recurso, com base no tipo fornecido.

Namespace:  Microsoft.Windows.Design.Features
Assembly:  Microsoft.Windows.Design.Extensibility (em Microsoft.Windows.Design.Extensibility.dll)

Sintaxe

'Declaração
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

Valor de retorno

Tipo: System.Collections.Generic.IEnumerable<TFeatureProviderType>
Uma enumeração de provedores de recurso.

Exceções

Exceção Condição
ArgumentNullException

type is nulluma referência nula (Nothing no Visual Basic).

Comentários

Os provedores de recurso são descobertos por meio de reflexão dos atributos type.

Segurança do .NET Framework

Consulte também

Referência

FeatureConnector<TFeatureProviderType> Classe

Sobrecargas CreateFeatureProviders

Namespace Microsoft.Windows.Design.Features

FeatureProvider

FeatureConnectorAttribute

Outros recursos

Recurso provedores e conectores de recursos

Noções básicas sobre extensibilidade Designer WPF