Modifica

Condividi tramite


View3.SwitchView(String) Method

Definition

Changes the active view of a Microsoft InfoPath form to a specified view.

public:
 void SwitchView(System::String ^ bstrName);
public void SwitchView (string bstrName);
abstract member SwitchView : string -> unit
Public Sub SwitchView (bstrName As String)

Parameters

bstrName
String

The name of the view to switch to. If an empty string is used, the default view is displayed.

Implements

Remarks

If an empty string is used as the bstrName parameter, the view is changed to the default view of the form.

Applies to