Udostępnij za pośrednictwem


Document.ContentControlBeforeContentUpdate Event (2007 System)

Occurs just before Microsoft Office Word updates the text in a content control, if the content control is bound to a custom XML part.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)

Syntax

'Declaration
Public Event ContentControlBeforeContentUpdate As DocumentEvents2_ContentControlBeforeContentUpdateEventHandler
'Usage
Dim instance As Document 
Dim handler As DocumentEvents2_ContentControlBeforeContentUpdateEventHandler 

AddHandler instance.ContentControlBeforeContentUpdate, handler
public event DocumentEvents2_ContentControlBeforeContentUpdateEventHandler ContentControlBeforeContentUpdate
public:
 event DocumentEvents2_ContentControlBeforeContentUpdateEventHandler^ ContentControlBeforeContentUpdate {
    void add (DocumentEvents2_ContentControlBeforeContentUpdateEventHandler^ value);
    void remove (DocumentEvents2_ContentControlBeforeContentUpdateEventHandler^ value);
}
JScript does not support events.

Remarks

For more information about handling events, see Consuming Events.

.NET Framework Security

See Also

Reference

Document Class

Document Members

Microsoft.Office.Tools.Word Namespace