SubfileRecordAttribute class | QSYS API Reference Guide
Estimated reading time: 2 minutes
Defines Subfile Record Attribute on a type
Namespace: ASNA.QSys.Expo.Model Assembly: ASNA.QSys.Expo.Model.dll
Inheritance: Object –> Attribute –> BaseRecordAttribute
Remarks
The SubfileRecordAttribute
class is a specialized class derived from RecordAttribute class that provides meta-data to express in the Model Subfile Displayfile Record DDS keywords.
The following excerpt of code describes to the SFL1
Subfile model, the attribute NextChanged
corresponding to the legacy SFLNXTCHG DDS keyword.
[
SubfileRecord(NextChanged = "14")
]
public class SFL1_Model : SubfileRecordModel
{
[Char(1, Protect = "*True")]
public string SFCOLOR { get; set; }
[Values(typeof(Decimal),"00","02","03","05","07","09","10","11")]
[Dec(2, 0)]
public decimal SFSEL { get; set; }
.
.
.
}
Properties
Type | Name | Description |
---|---|---|
Boolean | IsMessageSubfile | Sets or gets a boolean value to indicate that the Subfile record is the Message Subfile. |
String | NextChanged | Sets or gets a conditional indicator expression that determines if the record should be set as changed, to force the get-next-changed operation to succeed (SFLNXTCHG). Defaults to null |
Methods
Signature | Description |
---|---|
GetFrom(Type) | Gets the SubfileRecordAttribute from the Custom attributes on a type. |
SubfileRecordAttribute GetFrom(Type type)
Gets the SubfileRecordAttribute from the Custom attributes on a type.
SubfileRecordAttribute GetFrom(Type type)
Parameters
Type | Parameter name | Description |
---|---|---|
Type | type | The object Type. |
Returns
Type | Description |
---|---|
SubfileRecordAttribute | The subfile record attribute. |