Edit

Share via


DocContextChangeEvent.Type Property

Definition

Gets the type of context change event that occurred when the OnContextChange event was triggered.

public:
 property System::String ^ Type { System::String ^ get(); };
public string Type { get; }
member this.Type : string
Public ReadOnly Property Type As String

Property Value

Remarks

The Type property returns only the value "ContextNode" for context changes in Microsoft InfoPath. Nevertheless, if code in an event handler performs actions that depend on current functionality, that code should still be designed to check the value of the Type property, because future versions of InfoPath may use different values for different context changes.

Important: This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.

Applies to