Indicates whether an Hil instance is valid.
    Namespace: 
   Quanser.Hardware
    Assembly:
   Quanser.Hardware.Hil (in Quanser.Hardware.Hil.dll)
 Syntax
Syntax
| Visual Basic (Declaration) | 
|---|
| Public Function IsValid As Boolean | 
| Visual C++ | 
|---|
| public:
bool IsValid() | 
| JavaScript | 
|---|
| function isValid(); | 
Return Value
Returns 
true if the card is valid (i.e., open) and 
false otherwise.
Remarks
 Examples
Examples
This sample illustrates how to use the 
IsValid()()() method.
| C# |  Copy Code | 
|---|
| 
if (card.IsValid()) {
    /* ... use card ... */
}
 | 
| Visual Basic |  Copy Code | 
|---|
| 
if (card.IsValid()) {
    ' ... use card ...
}
 | 
| Visual C++ |  Copy Code | 
|---|
| 
if (card->IsValid()) {
    /* ... use card ... */
}
 | 
 See Also
See Also