Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

OverwriteOption enumeration

Indicates whether an incoming file that's being uploaded to Microsoft OneDrive should overwrite an existing file with the same file name in that location.

Syntax


public enum OverwriteOption

Members

The OverwriteOption enumeration has these members.

MemberValueDescription
DoNotOverwriteOverwriteOption.DoNotOverwrite

Do not overwrite the existing file.

OverwriteOverwriteOption.Overwrite

Overwrite the existing file with the incoming file.

RenameOverwriteOption.Rename

Do not overwrite the existing file. Instead, OneDrive will assign the incoming file a new file name as it's being downloaded.

Note  The file renaming pattern that OneDrive uses may produce unpredictable file names.

Requirements

Minimum supported client

Windows 8

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Microsoft.Live

Assembly

Microsoft.Live.dll

 

 

Show:
© 2016 Microsoft