Engine.NewDataType ( ValueType, asArray, typeNameParam, options)
The newly created data type.
Creates and returns a new TestStand data type.
This method creates a PropertyObject object that is a data type. Once you create a data type, you can use the Engine.NewPropertyObject method to create an instance of the type. You can add the type to a TypeUsageList to associate the type with a particular PropertyObjectFile.
ValueType As PropertyValueTypes
[In] Pass the type of value you want instances of the type to contain.
asArray As Boolean
[In] Pass True if you want the type to be an array.
typeNameParam As String
[In] If you pass PropValType_NamedType for the ValueType, pass the name of the type for this parameter. Otherwise, pass an empty string. If you pass a type name, the type must not already be in memory. Refer to NamedPropertyTypes for a list of built-in name types.
options As Long
[In] Pass 0 to specify the default behavior, or pass one or more PropertyOptions constants. Use the bitwise-OR operator to specify multiple options.