Visual Basic (Declaration) | |
---|---|
Public Overloads Shared Sub Clean( _ ByVal template As Stream, _ ByVal cleaned As Stream, _ ByVal cleanedType As Report.TEMPLATE_TYPE, _ ByVal removeUnused As Boolean, _ ByVal tagStyle As Report.TAG_STYLE, _ ByVal datasources As IEnumerable(Of Report.CleanDatasource), _ ByVal paramMode As DataSourceWrapper.PARAM_MODE, _ ByVal versionTemplate As Integer, _ ByVal fixExpressions As Boolean _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim template As Stream Dim cleaned As Stream Dim cleanedType As Report.TEMPLATE_TYPE Dim removeUnused As Boolean Dim tagStyle As Report.TAG_STYLE Dim datasources As IEnumerable(Of Report.CleanDatasource) Dim paramMode As DataSourceWrapper.PARAM_MODE Dim versionTemplate As Integer Dim fixExpressions As Boolean Report.Clean(template, cleaned, cleanedType, removeUnused, tagStyle, datasources, paramMode, versionTemplate, fixExpressions) |
C# | |
---|---|
public static void Clean( Stream template, Stream cleaned, Report.TEMPLATE_TYPE cleanedType, bool removeUnused, Report.TAG_STYLE tagStyle, IEnumerable<Report.CleanDatasource> datasources, DataSourceWrapper.PARAM_MODE paramMode, int versionTemplate, bool fixExpressions ) |
Managed Extensions for C++ | |
---|---|
public: static void Clean( Stream* template, Stream* cleaned, Report.TEMPLATE_TYPE cleanedType, bool removeUnused, Report.TAG_STYLE tagStyle, IEnumerable<Report.CleanDatasource*>* datasources, DataSourceWrapper.PARAM_MODE paramMode, int versionTemplate, bool fixExpressions ) |
C++/CLI | |
---|---|
public: static void Clean( Stream^ template, Stream^ cleaned, Report.TEMPLATE_TYPE cleanedType, bool removeUnused, Report.TAG_STYLE tagStyle, IEnumerable<Report.CleanDatasource^>^ datasources, DataSourceWrapper.PARAM_MODE paramMode, int versionTemplate, bool fixExpressions ) |
Parameters
- template
- The input template stream.
- cleaned
- The stream to write the cleaned template to.
- cleanedType
- The template type for the cleaned template.
- removeUnused
- true to remove unused styles, fonts, etc.
- tagStyle
- The style tags are written out as.
- datasources
- The type of each datasource to be cleaned.
- paramMode
- The parameter mode to convert tags to.
- versionTemplate
- The version the template was created under. -1 for unknown.
- fixExpressions
- Attempt to fix evaluable expressions.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family