XmlConfiguratonOperatorCanConvertTypeTo Method |
Checks if there is an appropriate type conversion from the source type to the target type.
Namespace: X3Platform.ConfigurationAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic static bool CanConvertTypeTo(
Type sourceType,
Type targetType
)
public:
static bool CanConvertTypeTo(
Type^ sourceType,
Type^ targetType
)
Parameters
- sourceType
- Type: SystemType
The type to convert from. - targetType
- Type: SystemType
The type to convert to.
Return Value
Type:
Booleantrue if there is a conversion from the source type to the target type.
Remarks
Checks if there is an appropriate type conversion from the source type to the target type.
See Also