'Declaration Public Event InitializeRecord As EventHandler(Of InitializeRecordEventArgs)
public event EventHandler<InitializeRecordEventArgs> InitializeRecord
The event handler receives an argument of type InitializeRecordEventArgs containing data related to this event. The following InitializeRecordEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Record | Returns the record that is going to be exported. |
SkipDescendants | Specifies whether to skip the descendants of the current record. |
SkipRecord | Specifies whether to skip the current record. |
SkipSiblings | Specifies whether to skip sibling records of the current record. |
TerminateExport | Specifies whether to terminate the export process. The current record will not be processed. |
The InitializeRecordEventArgs exposes properties that can be used to prevent the current record, its descendants or its siblings from being exported. The InitializeRecordEventArgs.TerminateExport property can be set to true to end the export operation.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2