Method | Description | |
---|---|---|
IsValidInt ( this strValue ) : bool |
Test if string value is a valid int value
|
|
IsValidInt ( this strValue, NumberStyles numberStyle, |
Test if string value is a valid int value
|
|
TryParseInt ( this strValue ) : int |
Convert string value to int value
|
|
TryParseInt ( this strValue, NumberStyles numberStyle, |
Convert string value to int value
|
|
TryParseInt ( this strValue, int defaultValue ) : int |
Convert string value to int value
|
|
TryParseInt ( this strValue, int defaultValue, NumberStyles numberStyle, |
Convert string value to int value
|
|
TryParseInt ( this strValue, int defaultValue, bool allowZero ) : int |
Convert string value to int value
|
|
TryParseInt ( this strValue, int defaultValue, bool allowZero, NumberStyles numberStyle, |
Convert string value to int value
|
|
TryParseIntArray ( this strValue ) : int[] |
Parse string array in short int
|
|
TryParseIntArray ( this strValue, NumberStyles numberStyle, |
Parse string array in int array
|
|
TryParseIntArray ( this strValue, int defaultValue ) : int[] |
Parse string array in int array
|
|
TryParseIntArray ( this strValue, int defaultValue, NumberStyles numberStyle, |
Parse string array in int array
|
|
TryParseIntArray ( this strValue, int defaultValue, bool allowDefaultConversion ) : int[] |
Parse string array in int array
|
|
TryParseIntArray ( this strValue, int defaultValue, bool allowDefaultConversion, NumberStyles numberStyle, |
Parse string array in int array
|
public static IsValidInt ( this strValue ) : bool | ||
strValue | this | string value |
return | bool |
public static IsValidInt ( this strValue, NumberStyles numberStyle, |
||
strValue | this | string value |
numberStyle | NumberStyles | number style to convert |
culture | culture origin | |
return | bool |
public static TryParseInt ( this strValue ) : int | ||
strValue | this | string value to convert |
return | int |
public static TryParseInt ( this strValue, NumberStyles numberStyle, |
||
strValue | this | string value to convert |
numberStyle | NumberStyles | string number style |
culture | current culture | |
return | int |
public static TryParseInt ( this strValue, int defaultValue ) : int | ||
strValue | this | string value to convert |
defaultValue | int | default value when error on convert value |
return | int |
public static TryParseInt ( this strValue, int defaultValue, NumberStyles numberStyle, |
||
strValue | this | string value to convert |
defaultValue | int | default value when error on convert value |
numberStyle | NumberStyles | string number style |
culture | current culture | |
return | int |
public static TryParseInt ( this strValue, int defaultValue, bool allowZero ) : int | ||
strValue | this | string value to convert |
defaultValue | int | default value when error on convert value |
allowZero | bool | allow zero on convert |
return | int |
public static TryParseInt ( this strValue, int defaultValue, bool allowZero, NumberStyles numberStyle, |
||
strValue | this | string value to convert |
defaultValue | int | default value when error on convert value |
allowZero | bool | allow zero on convert |
numberStyle | NumberStyles | string number style |
culture | current culture | |
return | int |
public static TryParseIntArray ( this strValue ) : int[] | ||
strValue | this | string to parse |
return | int[] |
public static TryParseIntArray ( this strValue, NumberStyles numberStyle, |
||
strValue | this | string to parse |
numberStyle | NumberStyles | number style to convert |
culture | culture origin | |
return | int[] |
public static TryParseIntArray ( this strValue, int defaultValue ) : int[] | ||
strValue | this | string to parse |
defaultValue | int | default value when default tryparse |
return | int[] |
public static TryParseIntArray ( this strValue, int defaultValue, NumberStyles numberStyle, |
||
strValue | this | string to parse |
defaultValue | int | default value when default tryparse |
numberStyle | NumberStyles | number style to convert |
culture | culture origin | |
return | int[] |
public static TryParseIntArray ( this strValue, int defaultValue, bool allowDefaultConversion ) : int[] | ||
strValue | this | string to parse |
defaultValue | int | default value when default tryparse |
allowDefaultConversion | bool | Allow default tryparse values |
return | int[] |
public static TryParseIntArray ( this strValue, int defaultValue, bool allowDefaultConversion, NumberStyles numberStyle, |
||
strValue | this | string to parse |
defaultValue | int | default value when default tryparse |
allowDefaultConversion | bool | Allow default tryparse values |
numberStyle | NumberStyles | number style to convert |
culture | culture origin | |
return | int[] |