AVEVA Database .NET Public Interface

DbElementTypeListFormat Members

DbElementTypeListFormat overview

Public Instance Constructors

DbElementTypeListFormat Overloaded. Initializes a new instance of the DbElementTypeListFormat class.

Public Instance Properties

BreakCount Gets or sets the number of DbElementTypes to be output before the BreakText is inserted. This allows, for example, a number of DbElementTypes to be output on the same line, or a blank line to be inserted after every 'n' DbElementTypes to aid readability. Note that the counter is reset by a SplitField. A value of 0 indicates that no such breaks are required.
BreakText Gets or sets the text to be output after ever BreakCount lines within a section, e.g. a new line (if putting several DbElementTypes on the same line) or an additional new line (if adding a blank line after every 'n' attributes). This is not used if BreakCount is set to 0 (the default).
ElementTypeFormat Gets or sets the DbElementTypeFormat to be used for each individual DbElementType
IncludeSplitFieldName Gets or sets whether or not the new value of the SplitField will be output whenever this changes between one DbElementType and the next. This is not used if the SplitField has not been set. If true, the new value of the field is output between the 'TextBeforeSplitFieldName' and 'TextAfterSplitFieldName'
SplitField Gets or sets a field to use as the split value; whenever the value of this field changes between one DbElementType and the next, the 'TextBeforeSplitFieldName', the new value of the field (optional), and the 'TextAfterSplitFieldName' are inserted into the output
TextAfterElementType Gets or sets the text to be inserted after each individual DbElementType (e.g. a new line character)
TextAfterSplitFieldName Gets or sets the text to be inserted after the field value whenever the value of the specified field changes between one DbElementType and the next. This is not used if the SplitField has not been set. Note that this text is still output even if 'IncludeSplitFieldName' is false so that the actual split field value itself is not.
TextAtEnd Gets or sets the text to be output after the final DbElementType in the list
TextAtStart Gets or sets the text to be inserted at the start of the formatted output (e.g. a header)
TextBeforeElementType Gets or sets the text to be inserted before each individual DbElementType
TextBeforeSplitFieldName Gets or sets the text to be inserted before the field value whenever the value of the specified field changes between one DbElementType and the next. This is not used if the SplitField has not been set. Note that this text is still output even if 'IncludeSplitFieldName' is false so that the actual split field value itself is not.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Format Formats a DbElementTypeList in the style specified
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

DbElementTypeListFormat Class | Aveva.Pdms.Database Namespace