.NET Customisation User Guide

.NET Customisation : Database Interface : Element Access : Getting Attribute Values
using ATT=Aveva.Core.Database.DbAttributeInstance;
using ATT=Aveva.Core.Database.DbAttributeInstance;
In addition there is a IsAttributeValid() method that can be used to test if an attribute is valid or not.
Note:
The methods that are called GetAttribute, GetAttributeArray are the 'getattribute' methods that return DbAttributes. Similarly the GetElement, GetElementArray methods are the 'getattribute' methods that return DbElements. This is confusing since GetElement is also the name of the method to return a DbElement given a name. We may change the names of these in the future.
The DbQualifier class represents the qualifier. This can hold any type of qualifier, i.e. int, double,string, DbElementType, Attribute, position, direction, orientation. It can hold multiple qualifier values, although few current attributes require multiple valued qualifiers. There is a separate method to set the WRT element.
DbQualifier qual=new DbQualifier();

1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
AVEVA Logo