Tekla Open API

Detailed and full API reference helps you master Tekla Open API

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: 2019.0.0.0 (2019.0.0.0)
Syntax
[SerializableAttribute]
[TypeConverterAttribute(typeof(IntegerConverter))]
public struct Integer : IXmlSerializable, IIntDataType, 
	IDataType

The Integer type exposes the following members.

Constructors
  Name Description
Public method Integer
Creates a new integer datatype instance.
Top
Properties
  Name Description
Public property Value
The value of the integer datatype.
Top
Methods
  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.
Top
Operators
  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.
Top
See Also