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