Creates storage file and writes data in it.

Namespace:  PerpetuumSoft.ReportingServices.Viewer.Client.Utils
Assembly:  PerpetuumSoft.ReportingServices.Viewer.Client (in PerpetuumSoft.ReportingServices.Viewer.Client.dll) Version: 1.0.0.0

Syntax

C#
public static bool SafeCreateFile(
	IsolatedStorageFile storage,
	string filePath,
	byte[] data
)
Visual Basic (Declaration)
Public Shared Function SafeCreateFile ( _
	storage As IsolatedStorageFile, _
	filePath As String, _
	data As Byte() _
) As Boolean
Visual C++
public:
static bool SafeCreateFile(
	IsolatedStorageFile^ storage, 
	String^ filePath, 
	array<unsigned char>^ data
)

Parameters

storage
Type: System.IO.IsolatedStorage..::.IsolatedStorageFile
The storage.
filePath
Type: System..::.String
The file path.
data
Type: array< System..::.Byte >[]()[]
The data.

Return Value

See Also