Value Implicit to Conversion

<< 点击显示目录 >>

主页  PVI通信 > PVI帮助信息 > PVI Services > BR.AN.Namespace > BR.AN.PviServices > Value Class > Value Operators and Type Conversions >

Value Implicit to Conversion

BR.AN.PviServices .NET


Converts the instance of the Value class to a Boolean value An InvalidCastException exception is thrown for invalid conversions

[Visual Basic]

Public Overloads Shared Widening Operator ( _

  ByVal value As Value _

)

[C#]

public override static implicit operator bool(

  Value value

);

Parameters

value

Instance of the Value class

Return Value

The Boolean value

Example

Boolean myVal = myVar.Value;

See Also

Value Class | BR.AN.PviServices Namespace


Generated from assembly BR.AN.PviServices [8.1.0.4]