ID - property of the tvTrend object
Identifier that unambiguously specifies the tvTrend object.
Property access for read and write
. The preset value of this property is defined in the "Basic settings > Trend ID
" configurator of this object.
The property is set, for example, when the object is created by calling the PmgTrendViewer.AddTrend
method. Two tvTrend
objects with the same ID
cannot exist in the PmgTrendViewer
object. No diacritic (national dependent) marks can occur in the ID
var oTView = pMe.Items("../TrendView");
var oTrend = oTView.Trends(0);
var sId = oTrend.ID; //reading
oTrend.ID = "trend3"; //writing