Udostępnij za pośrednictwem


Document.ContentControlAfterAdd Event (2007 System)

Occurs after a content control is added to a document.

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

Syntax

'Declaration
Public Event ContentControlAfterAdd As DocumentEvents2_ContentControlAfterAddEventHandler
'Usage
Dim instance As Document 
Dim handler As DocumentEvents2_ContentControlAfterAddEventHandler 

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