XPathTypedValue.SetStringValue method

Office 2013 and later

Specifies a literal string for an XPathTypedValue object.

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

public abstract void SetStringValue(
	string newValue
)

Parameters

newValue
Type: System.String

An XPath expression.

ExceptionCondition
ArgumentNullException

The parameter passed to this method is a null reference (Nothing in Visual Basic).

ArgumentException

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

This member can be accessed without restrictions.

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

Show: