ContextChangeEventArgs Constructor
This API supports the Visual Studio Tools for Office infrastructure and is not intended to be used directly from your code.
Namespace: Microsoft.Office.Tools.Word
Assembly: Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)
Syntax
'Declaration
Public Sub New ( _
oldXMLNode As XMLNode, _
newXMLNode As XMLNode, _
selection As Selection, _
reason As Integer _
)
'Usage
Dim oldXMLNode As XMLNode
Dim newXMLNode As XMLNode
Dim selection As Selection
Dim reason As Integer
Dim instance As New ContextChangeEventArgs(oldXMLNode, _
newXMLNode, selection, reason)
public ContextChangeEventArgs(
XMLNode oldXMLNode,
XMLNode newXMLNode,
Selection selection,
int reason
)
Parameters
- oldXMLNode
Type: Microsoft.Office.Interop.Word.XMLNode
- newXMLNode
Type: Microsoft.Office.Interop.Word.XMLNode
- selection
Type: Microsoft.Office.Interop.Word.Selection
- reason
Type: System.Int32
.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.