_XDocument.SetDataVariable 方法
此成员是用于 COM 接口(已被更高的版本取代)的成员的包装。此更高版本的接口会实现较早版本的接口的所有成员和其他新成员。有关在更高版本接口中实现的此成员的信息(包括用法、标记和示例),请参阅_XDocument2.SetDataVariable.
命名空间: Microsoft.Office.Interop.InfoPath.SemiTrust
程序集: Microsoft.Office.Interop.InfoPath.SemiTrust(位于 Microsoft.Office.Interop.InfoPath.SemiTrust.dll 中)
语法
声明
Sub SetDataVariable ( _
lVariableNumber As Integer, _
bstrVariableValue As String _
)
用法
Dim instance As _XDocument
Dim lVariableNumber As Integer
Dim bstrVariableValue As String
instance.SetDataVariable(lVariableNumber, _
bstrVariableValue)
void SetDataVariable(
int lVariableNumber,
string bstrVariableValue
)
参数
- lVariableNumber
类型:System.Int32
- bstrVariableValue
类型:System.String