Value.ToType Method

<< 点击显示目录 >>

主页  PVI通信 > PVI帮助信息 > PVI Services > BR.AN.Namespace > BR.AN.PviServices > Value Class > Value Methods >

Value.ToType Method

BR.AN.PviServices .NET


Converts the value of this instance to an Object of the specified Type that has an equivalent value, using the specified culture-specific formatting information.

[Visual Basic]

Public NotOverridable Sub ToType( _

  ByVal conversionType As Type, _

  ByVal provider As IFormatProvider _

) _

   Implements IConvertible.ToType

[C#]

public object ToType(

  Type conversionType,

  IFormatProvider provider

);

Parameters

conversionType

The Type to which the value of this instance is converted.

provider

An IFormatProvider interface implementation that supplies

Return Value

An Object instance of type conversionType whose value is equivalent to the value of this instance.

Implements

IConvertible.ToType

See Also

Value Class | BR.AN.PviServices Namespace


Generated from assembly BR.AN.PviServices [8.1.0.4]