Struct.definitionString Method

Returns a description of the names and types of the elements in the struct.

Syntax

public str definitionString()

Run On

Called

Return Value

Type: str
A string that contains a definition of the struct.

Remarks

You can use the definitionString method to create a copy of a struct by using the syntax: newStruct = new struct(oldStruct.definitionString());

See Also

Struct Class

Struct.toString Method