Edit

Share via


XPathTypedValue.SetStringValue(String) Method

Definition

Specifies a literal string for an XPathTypedValue object.

public:
 abstract void SetStringValue(System::String ^ newValue);
public abstract void SetStringValue (string newValue);
abstract member SetStringValue : string -> unit
Public MustOverride Sub SetStringValue (newValue As String)

Parameters

newValue
String

An XPath expression.

Exceptions

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

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.

Applies to