Harmon.ie SDK
Loading...
Searching...
No Matches
Harmonie.SDK.OverwriteAction Class Reference

OverwriteAction class represents what to do if the item already exists on SharePoint: OverwriteExisting - to replace the existing file, CreateNew - to add a new file with (2), (3) etc. appended to file name, or Choose - ask user what to do. More...

Public Member Functions

override string ToString ()
 Returns the overwrite action string.
 

Static Public Member Functions

static OverwriteAction valueOf (string value)
 Returns OverwriteAction - what to do if the item already exists on SharePoint: OverwriteExisting, CreateNew,

 

Static Public Attributes

static readonly OverwriteAction OverwriteExisting = new OverwriteAction("OverwriteExisting")
 OverwriteAction of type OverwriteExisting.
 
static readonly OverwriteAction CreateNew = new OverwriteAction("CreateNew")
 OverwriteAction of type CreateNew.
 
static readonly OverwriteAction Skip = new OverwriteAction("Skip")
 OverwriteAction of type Choose.
 
static readonly OverwriteAction Choose = new OverwriteAction("Choose")
 OverwriteAction of type Choose.
 

Detailed Description

OverwriteAction class represents what to do if the item already exists on SharePoint: OverwriteExisting - to replace the existing file, CreateNew - to add a new file with (2), (3) etc. appended to file name, or Choose - ask user what to do.

Member Function Documentation

◆ valueOf()

static OverwriteAction Harmonie.SDK.OverwriteAction.valueOf ( string value)
inlinestatic

Returns OverwriteAction - what to do if the item already exists on SharePoint: OverwriteExisting, CreateNew,

or Choose.

Parameters
valueOverwriteExisting / CreateNew / Choose

The documentation for this class was generated from the following file: