SkyDrive.LoadString method

Cerulean Cloud Filesystem on SkyDrive

Namespace: Cerulean
Assembly: Cerulean.dll

Usage

SkyDrive.Instance.SaveString("/aFolder/anotherFolder/aFile.ext", "Some text that will become the content of the file");

Syntax

public void SaveString(string filepath, string fileContent, bool blocking = false)

Parameters

filepath

A fully qualified filename.

fileContent

A string that will become the content of the file being created.

blocking

A flag that governs whether the method runs asynchronously and returns immediately, or runs synchronously (a "blocking" call).

Remarks

Serialise using XML to write binary or object data as a string.

When serialising state on WP7, use a blocking call to ensure the app does not cede control until serialisation completes.

Last edited Nov 26, 2011 at 11:34 AM by PeterWone, version 2

Comments

No comments yet.