This documentation is archived and is not being maintained.

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)

public abstract void SetStringValue (
	string newValue
)

Parameters

newValue

An XPath expression.

Exception typeCondition

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.

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.

Show: