Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Creates a new list of feature providers associated with the feature connector, based on the provided type.
Namespace: Microsoft.Windows.Design.Features
Assembly: Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)
Syntax
'Declaration
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>
Parameters
- type
Type: System.Type
The Type to query for feature providers.
Return Value
Type: System.Collections.Generic.IEnumerable<TFeatureProviderType>
An enumeration of feature providers.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | type is nulla null reference (Nothing in Visual Basic). |
Remarks
The feature providers are discovered through reflection of the attributes on type.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
FeatureConnector<TFeatureProviderType> Class
CreateFeatureProviders Overload
Microsoft.Windows.Design.Features Namespace