Heureka API .NET Documentation
GetState Method



Set to false to get the state after a treatment, and the value data for a treatment applied at the date
Return an ApiState object for the selected date. Returns null if the date is not found.
Syntax
'Declaration
 
Public Function GetState( _
   ByVal date As Date, _
   Optional ByVal beforeTreatment As Boolean _
) As ApiState
'Usage
 
Dim instance As ApiCompartment
Dim date As Date
Dim beforeTreatment As Boolean
Dim value As ApiState
 
value = instance.GetState(date, beforeTreatment)
public ApiState GetState( 
   DateTime date,
   bool beforeTreatment
)
public:
ApiState^ GetState( 
   DateTime date,
   bool beforeTreatment
) 

Parameters

date
beforeTreatment
Set to false to get the state after a treatment, and the value data for a treatment applied at the date
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

ApiCompartment Class
ApiCompartment Members

Send Feedback