<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="mmres://user_interface_reference.css" rel="stylesheet" type="text/css">
<title>CFINVOKEARGUMENT</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
   <div id="説明">
   <table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
      <tr> 
         <td valign="top" class="name">CFINVOKEARGUMENT</td>
         <td valign="top" nowrap class="compatibility">&nbsp;</td>
      </tr>
      <tr>
         <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
      </tr>


    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">説明</span>
<p>
パラメータの名前と値をコンポーネントメソッドまたは Web サービスに渡します。このタグは、cfinvoke タグ内で使用します。 
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">カテゴリ</span>
<p>
拡張タグ
</p>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="syntax"><span class="title">シンタックス</span><pre>&lt;cfinvokeargument
   name=&quot;argument name&quot;
   value=&quot;argument value&quot;
   omit = &quot;yes&quot;、&quot;no&quot;&gt;
</pre>    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">関連項目</span>
<p>
cfargument、cfcomponent、cffunction、cfinvoke、cfobject、cfproperty、cfreturn
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">ヒストリ</span>
<p>
ColdFusion&#160;MX&#160;7: omit 属性が追加されました。
</p>

<p>
ColdFusion&#160;MX: このタグが追加されました。
</p>

<p>

</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">使用方法</span>
<p>
cfinvoke タグ本文の中に複数の cfinvokeargument タグを記述することができます。
</p>

<p>
cfinvokeargument タグを使用すると、渡す引数をダイナミックに決定できます。たとえば、条件式に基づいた引数名の決定や、cfif タグを利用した cfinvokeargument タグを実行するかどうかの決定ができます。 
</p>

<p>
Web サービスを呼び出す場合、omit 属性を &quot;yes&quot; に設定すると、パラメータを省略できます。引数が nillable であることが WSDL で指定された場合、ColdFusion&#160;MX は関連する引数を null に設定します。minoccurs=0 であることが WSDL で指定された場合、ColdFusion&#160;MX は WSDL からの引数を省略します。
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">例</span><pre>&lt;cfinvoke
   component=&quot;nasdaq.quote&quot;
   method=&quot;getLastTradePrice&quot;
   returnVariable=&quot;res&quot;&gt;
   &lt;cfinvokeargument 
      name=&quot;symbol&quot; value=&quot;mot&quot;&gt;
   &lt;cfinvokeargument 
      name=&quot;symbol&quot;    value=&quot;macr&quot;&gt;
&lt;/cfinvoke&gt;

&lt;cfoutput&gt;#res#&lt;/cfoutput&gt;
</pre>    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">例</span><pre>&lt;cfinvoke
   webservice =&quot;http://www.xmethods.net/sd/2001/BabelFishService.wsdl&quot;
   method =&quot;BabelFish&quot;
   returnVariable = &quot;varName&quot;
   &gt;
   &lt;cfinvokeargument 
      name=&quot;translationmode&quot; value=&quot;en_es&quot;&gt;
   &lt;cfinvokeargument 
      name=&quot;sourcedata&quot; value=&quot;Hello world, friend&quot;&gt;
&lt;/cfinvoke&gt;
&lt;cfoutput&gt;#varName#&lt;/cfoutput&gt;   
</pre>
         </td>
      </tr>
   </table>
   </div>
<div id="NAME">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">NAME</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">必須</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">



<p>引数名です。</p>

  </td>
  </tr>
  </table>
</div>
<div id="VALUE">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">VALUE</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">必須</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">



<p>引数の値です。</p>

  </td>
  </tr>
  </table>
</div>
<div id="OMIT">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">OMIT</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">オプション</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">

<strong>Default value:</strong> "&quot;no&quot;"


<p>Web サービスを呼び出すときに、パラメータを省略できるようにします。cfinvoke の webservice 属性を指定していない場合に omit=&quot;yes&quot; を指定すると、エラーになります。</p>
<p>&quot;yes&quot;: Web サービスを呼び出すときに、このパラメータを省略します。</p>
<p>&quot;no": Web サービスを呼び出すときに、このパラメータを省略しません。</p>

  </td>
  </tr>
  </table>
</div>

  </body>
</html>
