AVEVA Database .NET Public Interface

DbElement.GetValidAsString 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'.

public abstract bool GetValidAsString(
   DbAttribute attributeName,
   ref string attributeValue
);

Parameters

attributeName
Attribute to query
attributeValue
Text value, where return value is True

Return Value

True, if attribute exists; False, if attribute does not exist

See Also

DbElement Class | Aveva.Pdms.Database Namespace