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.

String Structure

The String 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(StringConverter))]
public struct String : IXmlSerializable, IStringDataType, 
	IDataType

The String type exposes the following members.

Constructors
  Name Description
Public method String
Creates a new string datatype instance.
Top
Properties
  Name Description
Public property Value
The value of the string 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 a string value with a Datatype.String value.
Public operatorStatic member (String to String)
Converts from string to Datatype.String.
Public operatorStatic member (String to String)
Converts from Datatype.String to string.
Public operatorStatic member Inequality
Compares a string value with a Datatype.String value.
Top
See Also