XPathTypedValue.SetStringValue Method

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

Exceptions

Exception Condition
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.

Remarks

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.

See Also

Reference

XPathTypedValue Class

XPathTypedValue Members

Microsoft.Office.InfoPath Namespace