Property
Overview
Property is a class in Aspose.3D FOSS for Typescript.
Property.constructor creates a new Property instance with the specified name and value.
This class provides 4 methods for working with Property objects in Typescript programs.
Available methods include: constructor, getExtra, setExtra, toString.
All public members are accessible to any Typescript application after installing the Aspose.3D FOSS for Typescript package.
Properties: name, value, valueType.
Description
Property is a class in the Aspose.3D FOSS library for TypeScript that exposes 3 methods and 3 properties for programmatic use.
Core capabilities include: string; creates a new property instance with the specified name and value; sets the extra value. These operations enable developers to integrate property functionality directly into TypeScript applications.
The class also provides the name property (gets the name), the valueType property (gets the value type).
Instances are created through a single constructor that initializes the object with default values.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | string | Read | Gets the name. |
value | any | Read/Write | Gets the value. |
valueType | any | Read | Gets the value type. |
Methods
| Signature | Description |
|---|---|
constructor(name: string, value: any) | Creates a new Property instance with the specified name and value |
getExtra(name: string) → any | Returns the extra data associated with the given extra name |
setExtra(name: string, value: any) | Sets the extra value. |
toString() → string |