8f5a46057c6079a5456e6a33aac7bf984e902e88
FAQ/PostLoadReportSet.md
| ... | ... | @@ -0,0 +1,24 @@ |
| 1 | +#PostLoadReportSet |
|
| 2 | + |
|
| 3 | +[[_TOC_]] |
|
| 4 | + |
|
| 5 | +##About |
|
| 6 | + |
|
| 7 | +Represents a method that allows operations to be performed after loading the specified report. This method must be overridden if it is to be used and has no default behavior. |
|
| 8 | + |
|
| 9 | +##C# Example |
|
| 10 | + |
|
| 11 | +```csharp |
|
| 12 | +public override void PostLoadReportSet(string name, ReportSet reportSet) |
|
| 13 | +{ |
|
| 14 | + File.WriteAllText(string.Format("C:\\Backup\\Reports\\{0}\\{1}.xml", reportSet.ReportCategory, reportSet.ReportName), reportSet.WriteXml()); |
|
| 15 | +} |
|
| 16 | +``` |
|
| 17 | + |
|
| 18 | +##VB.NET Example |
|
| 19 | + |
|
| 20 | +```visualbasic |
|
| 21 | +Public Overrides Sub PostLoadReportSet(name As String, reportSet As ReportSet) |
|
| 22 | + File.WriteAllText(String.Format("C:\\Backup\\Reports\\{0}\\{1}.xml", reportSet.ReportCategory, reportSet.ReportName), reportSet.WriteXml()) |
|
| 23 | +End Sub |
|
| 24 | +``` |
|
| ... | ... | \ No newline at end of file |