StringConverter Class |
The StringConverter class converts types to and from the string datatype.
SystemObject
System.ComponentModelTypeConverter
Tekla.Structures.DatatypeStringConverter
System.ComponentModelTypeConverter
Tekla.Structures.DatatypeStringConverter
Namespace: Tekla.Structures.Datatype
Assembly: Tekla.Structures.Datatype (in Tekla.Structures.Datatype.dll) Version: 2025.0.0-alpha00045580+dc02c3918546f1e94eb2d3b13ea99057fb3313e0
The StringConverter type exposes the following members.
| Name | Description | |
|---|---|---|
| StringConverter | Initializes a new instance of the StringConverter class |
| Name | Description | |
|---|---|---|
| CanConvertFrom |
Checks whether the conversion can be made from the source type to the string datatype.
(Overrides TypeConverterCanConvertFrom(ITypeDescriptorContext, Type).) | |
| CanConvertTo |
Checks whether the conversion can be made from the string datatype to the destination type.
(Overrides TypeConverterCanConvertTo(ITypeDescriptorContext, Type).) | |
| ConvertFrom |
Converts an object from the given culture to the Tekla.Structures.Datatype.String type.
(Overrides TypeConverterConvertFrom(ITypeDescriptorContext, CultureInfo, Object).) | |
| ConvertTo |
Converts an object from the string datatype to the given destination type.
(Overrides TypeConverterConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type).) |