nuget server logo nuget api documents
↑

API Docs / Microsoft.VisualBasic.Runtime / CastStringVector

CastStringVector

Full name Microsoft.VisualBasic.Scripting.Runtime.CastStringVector Assembly Microsoft.VisualBasic.Runtime Members 18

01 Syntax

Microsoft.VisualBasic.Scripting.Runtime.CastStringVector

02 Methods

NameOverloadsSummary
AsCharacter 3 Convert the numeric Double type as the String text type.
AsCharacter 1 使用InputHandler.ToString())方法将对象集合转换为字符串序列
AsNumeric 1 Convert the String value as Double numeric type.
AsGeneric 1 将字典之中的值转换为Object类型
AsType 1 string array parser helper.
AsDouble 3 cast integer to double in batch
AsSingle 1 parse string as float number in batch mode
AsLong 1 parse string as long integer in batch mode
AsBoolean 1 parse string as boolean in batch mode
AsInteger 1 parse string as integer in batch mode
AsColor 1 parse string as gdi+ color object in batch mode
AsGeneric 1
AsType 1
AsDateTime 1

03 Members

method AsCharacter #
AsCharacter(Dictionary(Of String, Double))

Convert the numeric Double type as the String text type.

Parameters
NameTypeDescription
valuesDictionary(Of String, Double)

-

method AsCharacter overload 2 #
AsCharacter(Dictionary(Of String, Object), String)

Convert the numeric Object type as the String text type by InputHandler.ToString().

Parameters
NameTypeDescription
valuesDictionary(Of String, Object)

-

method AsCharacter overload 3 #
AsCharacter(IEnumerable(Of Double), Boolean, String)

Cats the given numeric vector as character string.

Parameters
NameTypeDescription
valuesIEnumerable(Of Double)

-

negPrefixBoolean

add prefix to the positive value for make align with the negative symbol, example as if this parameter is set to true:

  256.333
 -111.112  

the positive number 256.333 has a white space prefix for make aligned with the negative value -111.112.

formatString

-

method AsCharacter #
AsCharacter``1(IEnumerable(Of ``0), String)

使用InputHandler.ToString()方法将对象集合转换为字符串序列

Type Parameters
NameDescription
T
Parameters
NameTypeDescription
valuesIEnumerable(Of ``0)

-

null$String

-

method AsNumeric #
AsNumeric(Dictionary(Of String, String))

Convert the String value as Double numeric type.

Parameters
NameTypeDescription
valuesDictionary(Of String, String)

-

method AsGeneric #
AsGeneric``1(Dictionary(Of String, ``0))

将字典之中的值转换为Object类型

Type Parameters
NameDescription
T
Parameters
NameTypeDescription
valuesDictionary(Of String, ``0)

-

method AsType #
AsType``1(IEnumerable(Of String))

string array parser helper.

Remarks

批量的将一个字符串集合解析转换为目标类型T的对象的集合

Type Parameters
NameDescription
T

get parser for current type from InputHandler.CasterString.

Parameters
NameTypeDescription
sourceIEnumerable(Of String)

-

method AsDouble overload 3 #
AsDouble(IEnumerable(Of String))

将字符串集合转换为一个数值向量

Parameters
NameTypeDescription
sourceIEnumerable(Of String)

-

method AsDouble overload 2 #
AsDouble(IEnumerable(Of Single))

cast single float to double in batch

Parameters
NameTypeDescription
singlesIEnumerable(Of Single)

-

method AsDouble #
AsDouble(IEnumerable(Of Int32))

cast integer to double in batch

Parameters
NameTypeDescription
singlesIEnumerable(Of Int32)

-

method AsSingle #
AsSingle(IEnumerable(Of String))

parse string as float number in batch mode

Parameters
NameTypeDescription
sourceIEnumerable(Of String)

-

method AsLong #
AsLong(IEnumerable(Of String))

parse string as long integer in batch mode

Parameters
NameTypeDescription
sourceIEnumerable(Of String)

-

method AsBoolean #
AsBoolean(IEnumerable(Of String))

parse string as boolean in batch mode

Parameters
NameTypeDescription
sourceIEnumerable(Of String)

-

method AsInteger #
AsInteger(IEnumerable(Of String))

parse string as integer in batch mode

Parameters
NameTypeDescription
sourceIEnumerable(Of String)

-

method AsColor #
AsColor(IEnumerable(Of String))

parse string as gdi+ color object in batch mode

Parameters
NameTypeDescription
sourceIEnumerable(Of String)

-

method AsGeneric #
AsGeneric(Dictionary(Of String, T))
method AsType #
AsType(IEnumerable(Of String))
method AsDateTime #
AsDateTime(IEnumerable(Of String))