共用方式為


XDocumentClass._XDocument_SetDataVariable 方法

此類型為 coclass 或 coclass 成員的包裝函式,屬性 COM 互通性中的必要項。此類別不得用於程式碼中。

**命名空間:**Microsoft.Office.Interop.InfoPath
**組件:**Microsoft.Office.Interop.InfoPath (於 microsoft.office.interop.infopath.dll 中)

語法

'宣告
Public Overridable Sub _XDocument_SetDataVariable ( _
    <InAttribute> lVariableNumber As Integer, _
    <InAttribute> bstrVariableValue As String _
) Implements _XDocument.SetDataVariable
'用途
Dim instance As XDocumentClass
Dim lVariableNumber As Integer
Dim bstrVariableValue As String

CType(instance, _XDocument).SetDataVariable(lVariableNumber, bstrVariableValue)
public virtual void _XDocument.SetDataVariable (
    [InAttribute] int lVariableNumber,
    [InAttribute] string bstrVariableValue
)

參數

  • lVariableNumber
  • bstrVariableValue

請參閱

參考

XDocumentClass 類別
XDocumentClass 成員
Microsoft.Office.Interop.InfoPath 命名空間