次の方法で共有


_XDocument2.GetDataVariable メソッド

このメンバは、新しいバージョンに置き換えられた COM インターフェイスのメンバのラッパーです。このインターフェイスの新しいバージョンでは、以前のインターフェイスのすべてのメンバと追加の新しいメンバが実装されています。新しいインターフェイスで実装されているこのメンバについては (使用例、解説、およびサンプル コードを含む)、次を参照してください _XDocument3.GetDataVariable.

名前空間: Microsoft.Office.Interop.InfoPath
アセンブリ: Microsoft.Office.Interop.InfoPath (microsoft.office.interop.infopath.dll 内)

構文

'宣言
<DispIdAttribute(22)> _
Function GetDataVariable ( _
    <InAttribute> lVariableNumber As Integer _
) As String
'使用
Dim instance As _XDocument2
Dim lVariableNumber As Integer
Dim returnValue As String

returnValue = instance.GetDataVariable(lVariableNumber)
[DispIdAttribute(22)] 
string GetDataVariable (
    [InAttribute] int lVariableNumber
)

パラメータ

  • lVariableNumber

関連項目

参照

_XDocument2 インターフェイス
_XDocument2 のメンバ
Microsoft.Office.Interop.InfoPath 名前空間