編輯

共用方式為


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 2003 Service Pack 1. 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.

Applies to