Excel.FunctionResult class
関数評価操作の結果を含むオブジェクト
- Extends
注釈
使用元
- Excel.Functions: abs、accrInt、accrIntM、acos、acosh、acot、acoth、amorDegrc、amorLinc、および、アラビア語、領域、asc、asin、asin、asin、atan2、atanh、aveDev、averageA、averageA、averageIfs、averageIfs、バーツテキスト、base、besselI、besselJ、besselK、besselK、beta_Dist、beta_Inv、bin2Dec、bin2Hex、bin2Oct、binom_Dist、binom_Dist_Range、binom_Inv、bitand、bitlshift、bitrshift、bitrshift、bitxor、ceiling_Math、ceiling_Precise、char、chiSq_Dist、chiSq_Dist_RT、chiSq_Inv、chiSq_Inv_RT、選択、クリーン、コード、列、組み合わせ、combina、complex、連結、confidence_Norm、confidence_T、変換、cos、cosh、cot、coth、countA、countBlank、countIf、 countIfs、coupDayBs、coupDaysNc、coupNcd、coupNcd、coupNum、coupPcd、csc、csch、cumIPmt、cumPrinc、date、datevalue、daverage、day、days、days360、db、dbcs、dcountA、ddb、dec2Bin、dec2Hex、dec2Octt、decimal、Degrees、delta、devSq、dget、disc、dmax、dmin、Dollar、dollarDe、dollarFr、dproduct、dstDev、dstDevP、dsum、duration、dvar、dvar、dvarP、ecma_Ceiling、edate、effect、eoMonth、erf、erf_Precise、erfC、erfC_Precise、error_Type、正確、exp、expon_Dist、f_Dist、f_Dist_RT、f_Inv、f_Inv_RT、fact、factDouble、false、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、虚数、imArgument、imConjugate、imCos、imCosh、imCot、imCsc、imCsch、imDiv、imExp、imLn、imLog10、imLog2、imPower、imProduct、imReal、imSec、imSech、imSin、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、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、oddFPrice、oddLPrice、oddLYield、または、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, 商, ラジアン, rand, randBetween, rank_Avg, rank_Eq, rate, received, replaceB, rept, right, rightb, roman, round, roundDown, roundUp, rows, rri, sec, sech, second, seriesSum, sheet, sheet, sign, sin, sinh, skew, skew_p, sln, small, sqrt, sqrtPi, standardize, stDev_P, stDev_S, stDevA、stDevPA、置き換え、小計、sum、sumIf、sumIfs、sumSq、syd、t、t_Dist、t_Dist_2T、t_Dist_RT、t_Inv、t_Inv_2T、tanh、tbillEq、tbillPrice、tbillYield、text、time、timevalue、今日、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 フィールドに書き込まれます。 エラーは常に英語のロケールにあります。 |
| value | 関数評価の値。 値フィールドは、エラーが発生していない場合にのみ設定されます (つまり、Error プロパティが設定されていません)。 |
メソッド
| load(options) | オブジェクトの指定されたプロパティを読み込むコマンドを待ち行列に入れます。 プロパティを読み取る前に、 |
| load(property |
オブジェクトの指定されたプロパティを読み込むコマンドを待ち行列に入れます。 プロパティを読み取る前に、 |
| load(property |
オブジェクトの指定されたプロパティを読み込むコマンドを待ち行列に入れます。 プロパティを読み取る前に、 |
| toJSON() | API オブジェクトが |
プロパティの詳細
context
オブジェクトに関連付けられている要求コンテキスト。 これにより、アドインのプロセスが Office ホスト アプリケーションのプロセスに接続されます。
context: RequestContext;
プロパティ値
error
エラーを表すエラー値 ("#DIV/0" など)。 エラー文字列が設定されていない場合、関数は成功し、その結果が Value フィールドに書き込まれます。 エラーは常に英語のロケールにあります。
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>;