Share via


MFDevice.Erase Method

Erases part or all of flash memory.

Namespace: Microsoft.NetMicroFramework.Tools.MFDeployTool.Engine
Assembly: (in )

Syntax

 public bool Erase (
         params EraseOptions[] options
)

Parameters

  • options
    Indicates which portions of flash memory should be erased.

Return Value

true if the erase operation completed successfully, otherwise false.

Remarks

Any number of EraseOptions may be specified, for example Erase(EraseOptions.Deployment, EraseOptions.UserStorage). If no options are given, all flash memory will be erased.

Version Information

Available in MFDeploy version 1.0

See Also