Udostępnij za pośrednictwem


Document.BuildingBlockInsert Event (2007 System)

Occurs when a building block is inserted into 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 BuildingBlockInsert As DocumentEvents2_BuildingBlockInsertEventHandler
'Usage
Dim instance As Document 
Dim handler As DocumentEvents2_BuildingBlockInsertEventHandler 

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