AttrData Constructor
- Last UpdatedNov 06, 2025
- 1 minute read
The constructor for the AttrData class creates an AttrData object with initial values.
'Declaration
Public Function New( _
ByVal attrID As Integer, _
ByVal attrDesc As String, _
ByVal attrDataType As Integer, _
ByVal attrEntryType As Integer, _
ByVal filter As String, _
ByVal visibleInInv As Boolean, _
ByVal visibleInQueue As Boolean _
)
public AttrData(
int attrID,
string attrDesc,
int attrDataType,
int attrEntryType,
string filter,
bool visibleInInv,
bool visibleInQueue
)
Parameters
- attrID
- Required. Holds the ID of the attribute.
- attrDesc
- Required. Holds the description of the attribute.
- attrDataType
- Required. Holds the data type of the attribute.
- attrEntryType
- Required. Holds the entry type of the attribute. The entry type 0 indicates "value", 1 indicates "notes" and 2 indicates "value/notes".
- filter
- Required. Holds the ID of a group that is to be used as a filter for an Item Reason attribute.
- visibleInInv
- Required. Holds a flag that, if set to true, specifies that the attribute is visible in an inventory grid.
- visibleInQueue
- Required. Holds a flag that, if set to true, specifies that the attribute is visible in a queue grid.