AVEVA Database .NET Public Interface

DbElement.GetAsString Method

Get Attribute value on Element as text. This method works for all attributes that are valid ion this element The string returned will be correctly formated for output taking into account the current units. e.g. if in imperial units a position might be output as 'W 39'4.7/16 N 59'0.85/128 U 4'0.31/128'. This method throws an exception if attribute is invalid.

Overload List

Get Attribute value on Element as text. This method works for all attributes that are valid ion this element The string returned will be correctly formated for output taking into account the current units. e.g. if in imperial units a position might be output as 'W 39'4.7/16 N 59'0.85/128 U 4'0.31/128'. This method throws an exception if attribute is invalid.

public abstract string GetAsString(DbAttribute);

As for standard GetAsString() but allowing for an attribute qulaifier.

public abstract string GetAsString(DbAttribute,DbAttribute);

As for standard GetAsString() but allowing for an element type qulaifier.

public abstract string GetAsString(DbAttribute,DbElementType);

As for standard GetAsString() but allowing for an int qulaifier.

public abstract string GetAsString(DbAttribute,int);

As for standard GetAsString() but allowing for an string qulaifier.

public abstract string GetAsString(DbAttribute,string);

See Also

DbElement Class | Aveva.Pdms.Database Namespace