Name - property of the tvTrend object
Description:
User name of trend.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oTView = pMe.Items("../TrendView");
var oTrend = oTView.Trends(0);
if (oTrend)
{
var sName = oTrend.Name;
// Reading from the property
// or
oTrend.Name = "Temperature";
// Writing into the property
}
Dim oTView
Set oTView = pMe.Items("../TrendView")
Dim oTrend
Set oTrend = oTView.Trends(0)
If Not oTrend Is Nothing Then
Dim sName
sName = oTrend.Name
' Reading from the property
' or
oTrend.Name = "Temperature"
' Writing into the property
End If