Index - property of the tvTrend object
Description:
The property returns or sets the order of the tvTrend object.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oTView = pMe.Items("../TrendView");
var oTrend = oTView.Trends("t1");
if (oTrend)
{
var nIndex = oTrend.Index;
// Reading from the property
oTrend.Index = 2;
// Writing into the property
}
Dim oTView
Set oTView = pMe.Items("../TrendView")
Dim oTrend
Set oTrend = oTView.Trends("t1")
If Not oTrend Is Nothing Then
Dim nIndex
nIndex = oTrend.Index
' Reading from the property
oTrend.Index = 2
' Writing into the property
End If