AVEVA Database .NET Public Interface

DbElement.GetAsString Method (DbAttribute)

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 attributeName
);

Parameters

attributeName
Attribute to query

Return Value

Text value

See Also

DbElement Class | Aveva.Pdms.Database Namespace | DbElement.GetAsString Overload List