Méthode | Description | |
---|---|---|
Cents ( float f ) : double | ||
CleanApostrophes ( string s ) : string | ||
DecimalAsCents ( decimal d ) : double | ||
DecimalAsMils ( decimal d ) : double | ||
FullName ( IQBBaseRef obj ) : string |
Returns a name reference (Full Name) in a way that will not explode. Returns a zero length string in the event of failure
|
|
GetNullDateTimeValue ( ) : System.DateTime |
The beginning of the COM Epoch is used to represent no date
|
|
LimitedString ( string val, int maxLength ) : string |
Silent truncation function when data loss is acceptable
|
|
LimitedString ( string val, int maxLength, string reference ) : string |
SDK updates treat truncation as an error. So it is important to trim values that are found to be too long
|
|
ListID ( IQBBaseRef obj ) : string |
Returns an ID reference (ListID) in a way that will not explode. Returns a zero length string in the event of failure
|
|
SafeString ( object obj ) : string | ||
Value ( IQBDateTimeType dt ) : System.DateTime | ||
Value ( IQBDateType dt ) : System.DateTime | ||
Value ( IQBBoolType bl ) : bool | ||
Value ( IQBAmountType amt ) : decimal | ||
Value ( IQBFloatType val ) : decimal | ||
Value ( IQBPercentType pct ) : decimal | ||
Value ( IQBPriceType prc ) : decimal | ||
Value ( IQBQuanType quan ) : decimal | ||
Value ( IQBIntType i ) : int | ||
Value ( IQBIDType ID ) : string | ||
Value ( IQBStringType obj ) : string |
Returns a valid non-exploding string from an IQBStringType object
|
public static CleanApostrophes ( string s ) : string | ||
s | string | |
Résultat | string |
public static DecimalAsCents ( decimal d ) : double | ||
d | decimal | |
Résultat | double |
public static DecimalAsMils ( decimal d ) : double | ||
d | decimal | |
Résultat | double |
public static FullName ( IQBBaseRef obj ) : string | ||
obj | IQBBaseRef | the reference to read |
Résultat | string |
public static GetNullDateTimeValue ( ) : System.DateTime | ||
Résultat | System.DateTime |
public static LimitedString ( string val, int maxLength ) : string | ||
val | string | Original string value |
maxLength | int | maximum allowed lenght |
Résultat | string |
public static LimitedString ( string val, int maxLength, string reference ) : string | ||
val | string | |
maxLength | int | |
reference | string | |
Résultat | string |
public static ListID ( IQBBaseRef obj ) : string | ||
obj | IQBBaseRef | The reference to read |
Résultat | string |
public static SafeString ( object obj ) : string | ||
obj | object | |
Résultat | string |
public static Value ( IQBDateTimeType dt ) : System.DateTime | ||
dt | IQBDateTimeType | |
Résultat | System.DateTime |
public static Value ( IQBDateType dt ) : System.DateTime | ||
dt | IQBDateType | |
Résultat | System.DateTime |
public static Value ( IQBBoolType bl ) : bool | ||
bl | IQBBoolType | |
Résultat | bool |
public static Value ( IQBAmountType amt ) : decimal | ||
amt | IQBAmountType | |
Résultat | decimal |
public static Value ( IQBFloatType val ) : decimal | ||
val | IQBFloatType | |
Résultat | decimal |
public static Value ( IQBPercentType pct ) : decimal | ||
pct | IQBPercentType | |
Résultat | decimal |
public static Value ( IQBPriceType prc ) : decimal | ||
prc | IQBPriceType | |
Résultat | decimal |
public static Value ( IQBQuanType quan ) : decimal | ||
quan | IQBQuanType | |
Résultat | decimal |
public static Value ( IQBIDType ID ) : string | ||
ID | IQBIDType | |
Résultat | string |
public static Value ( IQBStringType obj ) : string | ||
obj | IQBStringType | The object to be translated |
Résultat | string |