API Reference

Detailed and full API reference helps you master Tekla development

This is the most recent version of Tekla Open API.
For older versions, please visit Tekla Warehouse.

Integer Structure

The Integer datatype.

Namespace:  Tekla.Structures.Datatype
Assembly:  Tekla.Structures.Datatype (in Tekla.Structures.Datatype.dll) Version: 2020.0.0.0 (2020.0.55582.0)
public struct Integer : IXmlSerializable, IIntDataType, 

The Integer type exposes the following members.

  Name Description
Public method Integer
Creates a new integer datatype instance.
  Name Description
Public property Value
The value of the integer datatype.
  Name Description
Public method Equals
Returns a value that indicates whether the current instance is equal to the given object.
(Overrides ValueTypeEquals(Object).)
Public method GetHashCode
Returns the hash code for the current instance.
(Overrides ValueTypeGetHashCode.)
Public method GetSchema
Gets the XML Schema for the datatype.
Public method ReadXml
Parses a new value from the given reader.
Public method ToString
Returns the string representation of the object.
(Overrides ValueTypeToString.)
Public method WriteXml
Writes the value as XML to the given writer.
  Name Description
Public operatorStatic member Equality
Compares an int value with a Datatype.Integer value.
Public operatorStatic member (Int32 to Integer)
Converts from int to Datatype.Integer.
Public operatorStatic member (Integer to Int32)
Converts from Datatype.Integer to int.
Public operatorStatic member Inequality
Compares an int value with a Datatype.Integer value.
See Also