Метод | Описание | |
---|---|---|
IsValidShort ( this strValue ) : bool |
Test if string value is a valid short value
|
|
IsValidShort ( this strValue, NumberStyles numberStyle, |
Test if string value is a valid short value
|
|
TryParseShort ( this strValue ) : short |
Convert string to short
|
|
TryParseShort ( this strValue, NumberStyles numberStyle, |
Convert string to short
|
|
TryParseShort ( this strValue, short defaultValue ) : short |
Convert string to short set default value on error
|
|
TryParseShort ( this strValue, short defaultValue, NumberStyles numberStyle, |
Convert string to short set default value on error
|
|
TryParseShort ( this strValue, short defaultValue, bool allowZero ) : short |
Convert string to short Set default value on error
|
|
TryParseShort ( this strValue, short defaultValue, bool allowZero, NumberStyles numberStyle, |
Convert string to short Set default value on error
|
|
TryParseShortArray ( this strValue ) : short[] |
Parse string array in short array
|
|
TryParseShortArray ( this strValue, NumberStyles numberStyle, |
Parse string array in short array
|
|
TryParseShortArray ( this strValue, short defaultValue ) : short[] |
Parse string array in short array
|
|
TryParseShortArray ( this strValue, short defaultValue, NumberStyles numberStyle, |
Parse string array in short array
|
|
TryParseShortArray ( this strValue, short defaultValue, bool allowDefaultConversion ) : short[] |
Parse string array in short array
|
|
TryParseShortArray ( this strValue, short defaultValue, bool allowDefaultConversion, NumberStyles numberStyle, |
Parse string array in short array
|
public static IsValidShort ( this strValue ) : bool | ||
strValue | this | string value |
Результат | bool |
public static IsValidShort ( this strValue, NumberStyles numberStyle, |
||
strValue | this | string value |
numberStyle | NumberStyles | number style to convert |
culture | culture origin | |
Результат | bool |
public static TryParseShort ( this strValue ) : short | ||
strValue | this | string value |
Результат | short |
public static TryParseShort ( this strValue, NumberStyles numberStyle, |
||
strValue | this | string value |
numberStyle | NumberStyles | number style to convert |
culture | culture origin | |
Результат | short |
public static TryParseShort ( this strValue, short defaultValue ) : short | ||
strValue | this | string value |
defaultValue | short | default value |
Результат | short |
public static TryParseShort ( this strValue, short defaultValue, NumberStyles numberStyle, |
||
strValue | this | string value |
defaultValue | short | default value |
numberStyle | NumberStyles | number style to convert |
culture | culture origin | |
Результат | short |
public static TryParseShort ( this strValue, short defaultValue, bool allowZero ) : short | ||
strValue | this | string value |
defaultValue | short | default value |
allowZero | bool | allow 0 on convert. |
Результат | short |
public static TryParseShort ( this strValue, short defaultValue, bool allowZero, NumberStyles numberStyle, |
||
strValue | this | string value |
defaultValue | short | default value |
allowZero | bool | allow 0 on convert. |
numberStyle | NumberStyles | number style to convert |
culture | culture origin | |
Результат | short |
public static TryParseShortArray ( this strValue ) : short[] | ||
strValue | this | string to parse |
Результат | short[] |
public static TryParseShortArray ( this strValue, NumberStyles numberStyle, |
||
strValue | this | string to parse |
numberStyle | NumberStyles | number style to convert |
culture | culture origin | |
Результат | short[] |
public static TryParseShortArray ( this strValue, short defaultValue ) : short[] | ||
strValue | this | string to parse |
defaultValue | short | default value when default tryparse |
Результат | short[] |
public static TryParseShortArray ( this strValue, short defaultValue, NumberStyles numberStyle, |
||
strValue | this | string to parse |
defaultValue | short | default value when default tryparse |
numberStyle | NumberStyles | number style to convert |
culture | culture origin | |
Результат | short[] |
public static TryParseShortArray ( this strValue, short defaultValue, bool allowDefaultConversion ) : short[] | ||
strValue | this | string to parse |
defaultValue | short | default value when default tryparse |
allowDefaultConversion | bool | Allow default tryparse values |
Результат | short[] |
public static TryParseShortArray ( this strValue, short defaultValue, bool allowDefaultConversion, NumberStyles numberStyle, |
||
strValue | this | string to parse |
defaultValue | short | default value when default tryparse |
allowDefaultConversion | bool | Allow default tryparse values |
numberStyle | NumberStyles | number style to convert |
culture | culture origin | |
Результат | short[] |