PropertyObjectType.ValueType
- Updated2024-10-09
- 1 minute(s) read
PropertyObjectType.ValueType
Syntax
PropertyObjectType.ValueType
Data Type
Use the following constants with this data type:
- PropValType_Array –(Value: 6) Specifies an array. This is not a valid value for PropertyObject creation methods such as Engine.NewPropertyObject and PropertyObject.NewSubProperty .
- PropValType_Boolean –(Value: 2) Specifies a Boolean type.
- PropValType_Container –(Value: 0) Specifies a container.
- PropValType_Enum –(Value: 7) Specifies an enumeration.
- PropValType_NamedType –(Value: 4) Use this value with PropertyObject creation methods such as Engine.NewPropertyObject and PropertyObject.NewSubProperty to create an instance of a named type. This is not a valid value for the PropertyObjectType.ValueType property.
- PropValType_Number –(Value: 3) Specifies a number.
- PropValType_Reference –(Value: 5) Specifies an object reference.
- PropValType_String –(Value: 1) Specifies a string.
Purpose
Returns the type of the value of a PropertyObject.
Remarks
If the property is an instance of a named type, ValueType does not return PropValType_NamedType . Instead, ValueType returns one of the other property value type constants to indicate the value type of the type definition. Use the PropertyObjectType.TypeName property to determine whether a property is an instance of a named type.