Heureka API .NET Documentation
CheckTreatment Method



Earliest year treatment has occured (number of years before current period)
Latest year treatment has occured (number of years before current period)
Type of treatment to check for
Checks if specified treatment previously has occured within the given time frame.
Syntax
'Declaration
 
Public Function CheckTreatment( _
   ByVal after As Integer, _
   ByVal before As Integer, _
   ByVal treatment As TreatmentType _
) As Boolean
'Usage
 
Dim instance As PredictionUnit
Dim after As Integer
Dim before As Integer
Dim treatment As TreatmentType
Dim value As Boolean
 
value = instance.CheckTreatment(after, before, treatment)
public bool CheckTreatment( 
   int after,
   int before,
   TreatmentType treatment
)
public:
bool CheckTreatment( 
   int after,
   int before,
   TreatmentType treatment
) 

Parameters

after
Earliest year treatment has occured (number of years before current period)
before
Latest year treatment has occured (number of years before current period)
treatment
Type of treatment to check for

Return Value

True if after < thinningHistory >= before, false otherwise
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PredictionUnit Class
PredictionUnit Members

Send Feedback