Share via


XPathTypedValue.SetStringValue Method (Microsoft.Office.InfoPath)

Specifies a literal string for an XPathTypedValue object.

Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath (in microsoft.office.infopath.dll)

Syntax

'Declaration
Public MustOverride Sub SetStringValue ( _
    newValue As String _
)
'Usage
Dim instance As XPathTypedValue
Dim newValue As String

instance.SetStringValue(newValue)
public abstract void SetStringValue (
    string newValue
)

Parameters

  • newValue
    An XPath expression.

Exceptions

Exception type Condition

ArgumentNullException

The parameter passed to this method is null.

ArgumentException

The parameter passed to this method isnot valid. For example, it is of the wrong type or format.

Remarks

This member can be accessed without restrictions.

This type or member can be accessed from code running in forms opened in Microsoft Office InfoPath 2007 or in a Web browser.

See Also

Reference

XPathTypedValue Class
XPathTypedValue Members
Microsoft.Office.InfoPath Namespace