Share via


XDocumentClass.SetDataVariable method

This type is a wrapper for a coclass or coclass member that is required by managed code for COM interoperability. This class is not intended to be used in code.

Namespace:  Microsoft.Office.Interop.InfoPath
Assembly:  Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.dll)

Syntax

'Declaration
Public Overridable Sub SetDataVariable ( _
    lVariableNumber As Integer, _
    bstrVariableValue As String _
)
'Usage
Dim instance As XDocumentClass
Dim lVariableNumber As Integer
Dim bstrVariableValue As String

instance.SetDataVariable(lVariableNumber, _
    bstrVariableValue)
public virtual void SetDataVariable(
    int lVariableNumber,
    string bstrVariableValue
)

Parameters

Implements

_XDocument2.SetDataVariable(Int32, String)

See also

Reference

XDocumentClass class

XDocumentClass members

Microsoft.Office.Interop.InfoPath namespace