Click or drag to resize

reportingCoreManagerloadReportResourceFile Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Loads BuildAction Content files from two reserved folders.

Namespace:  imbSCI.Reporting.resources
Assembly:  imbSCI.Reporting (in imbSCI.Reporting.dll) Version: 0.3.70.
Syntax
C#
public static string loadReportResourceFile(
	this reportResourceFolders rdir,
	string filename,
	string foldername = ""
)
Request Example View Source

Parameters

rdir
Type: imbSCI.Reporting.resourcesreportResourceFolders
Folder with the file
filename
Type: SystemString
Full filename, including extension
foldername (Optional)
Type: SystemString
If there is subfolder - name it

Return Value

Type: String

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type reportResourceFolders. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
Targeted file must be set: BuildAction = Content, Copy Local = Always
See Also