ProjectGetTypeConvertersUsingTypeFilter Method |
Gets the type converters using a type filter. It returns all type converters which are found in the system folder combined with the type converters
found in the additional type converter folder and which have coreType as the core type (the type of object returned
from CreateInstance) and if fromType is specified, it is used to limit the list of type converters to return by filtering on the fact that they
can convert from this type. If a type converter is 'design only' (so a system type converter) and not supported by the target framework, it's
filtered out and not returned.
Namespace:
SD.LLBLGen.Pro.ApplicationCore.ProjectClasses
Assembly:
SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.7.0.0 (5.7.0)
Syntax public List<TypeConverterDefinition> GetTypeConvertersUsingTypeFilter(
Type coreType,
Type fromType
)
Public Function GetTypeConvertersUsingTypeFilter (
coreType As Type,
fromType As Type
) As List(Of TypeConverterDefinition)
Parameters
- coreType
- Type: SystemType
The core .NET type of the type converter. - fromType
- Type: SystemType
The .NET type a converter can convert from.
Return Value
Type:
ListTypeConverterDefinitionList of matching type converter definitions
See Also