ContentControlContentUpdatingEventArgs Constructor

Initializes a new instance of the ContentControlContentUpdatingEventArgs class.

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 ( _
    content As String _
)
'Usage
Dim content As String

Dim instance As New ContentControlContentUpdatingEventArgs(content)
public ContentControlContentUpdatingEventArgs(
    string content
)

Parameters

  • content
    Type: System.String
    The text that is being written to the control from the custom XML part that is bound to the control.

Remarks

Typically, you should not create an instance of the ContentControlContentUpdatingEventArgs class in your code. Visual Studio Tools for Office creates an instance of this class when the ContentUpdating event of a content control is raised.

.NET Framework Security

See Also

Reference

ContentControlContentUpdatingEventArgs Class

ContentControlContentUpdatingEventArgs Members

Microsoft.Office.Tools.Word Namespace