Excel.FunctionResult class
関数の評価操作の結果を含むオブジェクト
- Extends
注釈
使用元
- Excel.Functions: abs、accrInt、accrIntM、acos、acosh、acot、acoth、amorDegrc、amorLinc、and、arabic、areas、asc、asin、asinh、atan、atan2、atanh、aveDev、average、averageA、averageIf、averageIfs、bahtText、base,besselI, besselJ, besselK, besselY, beta_Dist, beta_Inv, bin2Dec, bin2Hex, bin2Oct, binom_Dist, binom_Dist_Range, binom_Inv, bitand, bitlshift, bitor, bitrshift, bitxor, ceiling_Math, ceiling_Precise, char, chiSq_Dist, chiSq_Dist_RT, chiSq_Inv, chiSq_Inv_RT, choose, クリーン, code, columns, combin, combina, complex, concatenate, confidence_Norm, confidence_T, convert, cos, cosh, cot, coth, count, countA, countBlank, countIf, countIfs, coupDayBs, coupDays, coupDaysNc, coupNcd, coupNum, coupPcd, csc, csch, cumIPmt, cumPrinc, date, datevalue, daverage, day, days, days360, db, dbcs, dcount, dcountA, ddb, dec2Bin, dec2Hex, dec2Oct, decimal, degrees, delta, devSq, dget, disc, dmax, dmin, dollar, dollarDe, dollarFr, dproduct, dstDev, dstDevP, dsum, duration, dvar, dvarP, ecma_Ceiling, edate, effect, eoMonth, erf,erf_Precise, erfC, erfC_Precise, error_Type, even, exact, exp, expon_Dist, f_Dist, f_Dist_RT, f_Inv, f_Inv_RT, fact, factDouble, false, find, findB, fisher, fisherInv, fixed, floor_Math, floor_Precise、fv、fvschedule、gamma、gamma_Dist、gamma_Inv、gammaLn、gammaLn_Precise、gauss、gcd、geoMean、geStep、harMean、hex2Bin、hex2Dec、hex2Oct、hlookup、hour、hyperlink、hypGeom_Dist、if、imAbs,imaginary, imArgument, imConjugate, imCos, imCosh, imCot, imCsc, imCsch, imDiv, imExp, imLn, imLog10, imLog2, imPower, imProduct, imReal, imSec, imSech, imSin, imSinh, imSqrt, imSub,imSum, imTan, int, intRate, ipmt, irr, isErr, isError, isEven, isFormula, isLogical, isNA,isNonText, isNumber, iso_Ceiling, isOdd, isoWeekNum, ispmt, isref, isText, kurt, large, lcm, left, leftb, len, lenb, ln, log, log10, logNorm_Dist, logNorm_Inv, lookup, lower, match, max, maxA, mduration, median, mid, midb, min, minA, minute, mirr, mod,month, mround, multiNomial, n, na, negBinom_Dist, networkDays, networkDays_Intl, nominal, norm_Dist, norm_Inv, norm_S_Dist, norm_S_Inv, not, now, nper, npv, numberValue, oct2Bin, oct2Dec, oct2Hex,odd, oddFPrice, oddFYield, oddLPrice, oddLYield, or, pduration, percentile_Exc, percentile_Inc, percentRank_Exc, percentRank_Inc, permut, permutationa, phi, pi, pmt, poisson_Dist, power, ppmt, price,priceDisc, priceMat, product, proper, pv, quartile_Exc, quartile_Inc, quotient, radians, rand, randBetween, rank_Avg, rank_Eq, rate, received, replace, replaceB, rept, right, rightb, roman, round, roundDown, roundUp, rows, rri, sec, sech, second, seriesSum, sheet, sheets, sign, sin, sinh, skew, skew_p, sln, small, sqrt, sqrtPi, standardize, stDev_P, stDev_S, stDevA, stDevPA,substitute, subtotal, sum, sumIf, sumIfs, sumSq, syd, t, t_Dist, t_Dist_2T, t_Dist_RT, t_Inv, t_Inv_2T, tan, tanh, tbillEq, tbillPrice, tbillYield, text, time, timevalue,today, trim, trimMean, true, trunc, type, unichar, unicode, upper, usdollar, value, var_P, var_S, varA, varPA,vdb, vlookup, weekday, weekNum, weibull_Dist, workDay, workDay_Intl,xirr, xnpv, xor, year, yearFrac, yield, yieldDisc, yieldMat, z_Test
プロパティ
| context | オブジェクトに関連付けられている要求コンテキスト。 これにより、アドインのプロセスが Office ホスト アプリケーションのプロセスに接続されます。 |
| error | エラーを表すエラー値 ("#DIV/0" など)。 エラー文字列が設定されていない場合、関数は成功し、その結果が [値] フィールドに書き込まれます。 エラーは常に英語のロケールにあります。 |
| value | 関数の評価の値。 値フィールドには、エラーが発生していない (つまり、Error プロパティが設定されていない) 場合にのみ設定されます。 |
メソッド
| load(options) | オブジェクトの指定されたプロパティを読み込むコマンドを待ち行列に入れます。 プロパティを読み取る前に、 |
| load(property |
オブジェクトの指定されたプロパティを読み込むコマンドを待ち行列に入れます。 プロパティを読み取る前に、 |
| load(property |
オブジェクトの指定されたプロパティを読み込むコマンドを待ち行列に入れます。 プロパティを読み取る前に、 |
| toJSON() | API オブジェクトが |
プロパティの詳細
context
オブジェクトに関連付けられている要求コンテキスト。 これにより、アドインのプロセスが Office ホスト アプリケーションのプロセスに接続されます。
context: RequestContext;
プロパティ値
error
エラーを表すエラー値 ("#DIV/0" など)。 エラー文字列が設定されていない場合、関数は成功し、その結果が [値] フィールドに書き込まれます。 エラーは常に英語のロケールにあります。
readonly error: string;
プロパティ値
string
注釈
value
関数の評価の値。 値フィールドには、エラーが発生していない (つまり、Error プロパティが設定されていない) 場合にのみ設定されます。
readonly value: T;
プロパティ値
T
注釈
メソッドの詳細
load(options)
オブジェクトの指定されたプロパティを読み込むコマンドを待ち行列に入れます。 プロパティを読み取る前に、context.sync() を呼び出す必要があります。
load(options?: Excel.Interfaces.FunctionResultLoadOptions): FunctionResult<T>;
パラメーター
読み込むオブジェクトのプロパティのオプションを指定します。
返品
load(propertyNames)
オブジェクトの指定されたプロパティを読み込むコマンドを待ち行列に入れます。 プロパティを読み取る前に、context.sync() を呼び出す必要があります。
load(propertyNames?: string | string[]): FunctionResult<T>;
パラメーター
- propertyNames
-
string | string[]
読み込むプロパティを指定するコンマ区切りの文字列または文字列の配列。
返品
load(propertyNamesAndPaths)
オブジェクトの指定されたプロパティを読み込むコマンドを待ち行列に入れます。 プロパティを読み取る前に、context.sync() を呼び出す必要があります。
load(propertyNamesAndPaths?: {
select?: string;
expand?: string;
}): FunctionResult<T>;
パラメーター
- propertyNamesAndPaths
-
{ select?: string; expand?: string; }
propertyNamesAndPaths.select は読み込むプロパティを指定するコンマ区切りの文字列であり、 propertyNamesAndPaths.expand は読み込むナビゲーションのプロパティを指定するコンマ区切りの文字列です。
返品
toJSON()
API オブジェクトが JSON.stringify() に渡されるときに、より有用な出力を提供するために、JavaScript toJSON() メソッドをオーバーライドします。 (次に、JSON.stringify渡されたオブジェクトの toJSON メソッドを呼び出します)。元の FunctionResult<T> オブジェクトが API オブジェクトであるのに対し、 toJSON メソッドは、元のオブジェクトから読み込まれた子プロパティの浅いコピーを含むプレーンな JavaScript オブジェクト ( Interfaces.FunctionResultData<T> と型指定) を返します。
toJSON(): Interfaces.FunctionResultData<T>;