ContextChangeEventArgs.Reason Property (2007 System)
Gets the reason why the selection has changed.
Namespace: Microsoft.Office.Tools.Word
Assembly: Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)
Syntax
'Declaration
Public ReadOnly Property Reason As Integer
'Usage
Dim instance As ContextChangeEventArgs
Dim value As Integer
value = instance.Reason
public int Reason { get; }
public:
property int Reason {
int get ();
}
public function get Reason () : int
Property Value
Type: System.Int32
One of the WdXMLSelectionChangeReason values.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.