createPrimitiveProperty MethodProtected
Overloads | |
---|---|
createPrimitiveProperty(name, primitiveType) Protected | |
createPrimitiveProperty(name, primitiveType) Protected |
createPrimitiveProperty(name, primitiveType)
createPrimitiveProperty(name: string, primitiveType: Enumeration): Promise<EnumerationProperty>
Parameter | Type | Description |
---|---|---|
name | string | |
primitiveType | Enumeration |
Returns - Promise<EnumerationProperty>
createPrimitiveProperty(name, primitiveType)
Creates a PrimitiveECProperty.
createPrimitiveProperty(name: string, primitiveType: PrimitiveType): Promise<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 - Promise<PrimitiveProperty>
Defined in
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.