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
// or
oTrend.Index = 2;
// Writing into the property
}
Dim oTView, oTrend
Set oTView = pMe.Items("../TrendView")
Set oTrend = oTView.Trends("t1")
If Not oTrend Is Nothing Then
Dim nIndex
nIndex = oTrend.Index
' Reading from the property
' or
oTrend.Index = 2
' Writing into the property
End If