Udostępnij za pośrednictwem


Document.ContentControlBeforeStoreUpdate Event (2007 System)

Occurs just before Microsoft Office Word updates data in a custom XML part that is bound to the content control (that is, after the text in the content control changes).

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

Syntax

'Declaration
Public Event ContentControlBeforeStoreUpdate As DocumentEvents2_ContentControlBeforeStoreUpdateEventHandler
'Usage
Dim instance As Document 
Dim handler As DocumentEvents2_ContentControlBeforeStoreUpdateEventHandler 

AddHandler instance.ContentControlBeforeStoreUpdate, handler
public event DocumentEvents2_ContentControlBeforeStoreUpdateEventHandler ContentControlBeforeStoreUpdate
public:
 event DocumentEvents2_ContentControlBeforeStoreUpdateEventHandler^ ContentControlBeforeStoreUpdate {
    void add (DocumentEvents2_ContentControlBeforeStoreUpdateEventHandler^ value);
    void remove (DocumentEvents2_ContentControlBeforeStoreUpdateEventHandler^ 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