편집

다음을 통해 공유


ViewInfoCollection.Initial Property

Definition

Gets or sets the ViewInfo object that represents the initial view of the form.

public:
 abstract property Microsoft::Office::InfoPath::ViewInfo ^ Initial { Microsoft::Office::InfoPath::ViewInfo ^ get(); void set(Microsoft::Office::InfoPath::ViewInfo ^ value); };
public abstract Microsoft.Office.InfoPath.ViewInfo Initial { get; set; }
member this.Initial : Microsoft.Office.InfoPath.ViewInfo with get, set
Public MustOverride Property Initial As ViewInfo

Property Value

The ViewInfo object that represents the initial view of the form.

Exceptions

The specified ViewInfo object doesn't exist.

Examples

To see an example that uses the Initial property, see the SwitchView(ViewInfo) method topic.

Remarks

The ViewInfo object that is returned or set by the Initial property is specified by the value of the InitialView attribute in the processing instructions of the underlying XML document of the form. The value can be set to a valid view and is saved when the form is saved.

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