Status Control
Customising Status Control using C# (.NET)
:
Classes in .NET
: Class StatusValue
Class StatusValue
This class gives access to the data relating to a Status Value (STAVAL element). This represents one of the legal states that an element controlled for a given status definition may have. The status definition and value can be determined via the class constructors:
Status status = Status("/DesignStatus");
StatusValue statusValue = StatusValue(status, "/Approved");
Or:
DbElement statusValueElement;
// ...
StatusValue statusValue = StatusValue(statusValueElement);
Alternatively, the array of all StatusValues for a given status definition can be obtained directly from a Status object:
Status status = Status("/DesignStatus");
StatusValue[] statusValues = status.Values;
The remaining functions of the StatusValue class are displayed in the Visual Studio Object Browser below:
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.