메소드 | 설명 | |
---|---|---|
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 | |
리턴 | string |
public static FullName ( IQBBaseRef obj ) : string | ||
obj | IQBBaseRef | the reference to read |
리턴 | string |
public static GetNullDateTimeValue ( ) : System.DateTime | ||
리턴 | System.DateTime |
public static LimitedString ( string val, int maxLength ) : string | ||
val | string | Original string value |
maxLength | int | maximum allowed lenght |
리턴 | string |
public static LimitedString ( string val, int maxLength, string reference ) : string | ||
val | string | |
maxLength | int | |
reference | string | |
리턴 | string |
public static ListID ( IQBBaseRef obj ) : string | ||
obj | IQBBaseRef | The reference to read |
리턴 | string |
public static Value ( IQBDateTimeType dt ) : System.DateTime | ||
dt | IQBDateTimeType | |
리턴 | System.DateTime |
public static Value ( IQBDateType dt ) : System.DateTime | ||
dt | IQBDateType | |
리턴 | System.DateTime |
public static Value ( IQBPercentType pct ) : decimal | ||
pct | IQBPercentType | |
리턴 | decimal |
public static Value ( IQBStringType obj ) : string | ||
obj | IQBStringType | The object to be translated |
리턴 | string |