createPrimitivePropertySync MethodProtected
createPrimitivePropertySync(name, primitiveType)
createPrimitivePropertySync(name: string, primitiveType: Enumeration): EnumerationProperty
Parameter | Type | Description |
---|---|---|
name | string | |
primitiveType | Enumeration |
Returns - EnumerationProperty
createPrimitivePropertySync(name, primitiveType)
Creates a PrimitiveECProperty.
createPrimitivePropertySync(name: string, primitiveType: PrimitiveType): PrimitiveProperty
@throws ECObjectsStatus DuplicateProperty: thrown if a property with the same name already exists in the class.
Parameter | Type | Description |
---|---|---|
name | string | The name of property to create. |
primitiveType | PrimitiveType | The primitive type of property to create. If not provided the default is PrimitiveType.Integer |
Returns - PrimitiveProperty
Defined in
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.