| ConfigurationSectionStringConverterConvertTo Method (ITypeDescriptorContext, CultureInfo, Object, Type) |
Casts value into a string then returns ConfigurationManager.GetSection
Namespace: Activsoft.EngineAssembly: Activsoft.Engine (in Activsoft.Engine.dll) Version: 6.0.0.0
Syntaxpublic override Object ConvertTo(
ITypeDescriptorContext ctx,
CultureInfo ci,
Object value,
Type type
)
Public Overrides Function ConvertTo (
ctx As ITypeDescriptorContext,
ci As CultureInfo,
value As Object,
type As Type
) As Object
public:
virtual Object^ ConvertTo(
ITypeDescriptorContext^ ctx,
CultureInfo^ ci,
Object^ value,
Type^ type
) override
abstract ConvertTo :
ctx : ITypeDescriptorContext *
ci : CultureInfo *
value : Object *
type : Type -> Object
override ConvertTo :
ctx : ITypeDescriptorContext *
ci : CultureInfo *
value : Object *
type : Type -> Object Parameters
- ctx
- Type: System.ComponentModelITypeDescriptorContext
ITypeDescriptorContext object used for the conversions. - ci
- Type: System.GlobalizationCultureInfo
Internalization context - value
- Type: SystemObject
The value to convert. - type
- Type: SystemType
The type of the value to convert.
Return Value
Type:
ObjectThe ConfigurationSection of name
See Also