Gets the value and units of this sensor.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetSensorValue( _
ByRef Value As System.Double, _
ByRef Units As System.String _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As ISensor
Dim Value As System.Double
Dim Units As System.String
Dim value As System.Boolean
value = instance.GetSensorValue(Value, Units) |
C# | |
---|
System.bool GetSensorValue(
out System.double Value,
out System.string Units
) |
C++/CLI | |
---|
System.bool GetSensorValue(
& [Out] System.double Value,
& [Out] System.String^ Units
) |
Parameters
- Value
- Value of the sensor
- Units
- Units of the sensor
Return Value
True if successful, false if not
See Also
Availability
SOLIDWORKS 2012 FCS, Revision Number 20.0