DocumentEvents2_BuildingBlockInsertEventHandler Delegate
A Delegate type used to add an event handler for the BuildingBlockInsert(Range, String, String, String, String) event.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub DocumentEvents2_BuildingBlockInsertEventHandler ( _
Range As Range, _
Name As String, _
Category As String, _
BlockType As String, _
Template As String _
)
'Usage
Dim instance As New DocumentEvents2_BuildingBlockInsertEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void DocumentEvents2_BuildingBlockInsertEventHandler(
Range Range,
string Name,
string Category,
string BlockType,
string Template
)
Parameters
- Range
Type: Microsoft.Office.Interop.Word.Range
- Name
Type: System.String
- Category
Type: System.String
- BlockType
Type: System.String
- Template
Type: System.String