ContentService.Update Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

Update(T, IEnumerable, bool, bool)

Updates an existing Content item.

public static T Update<T>(T content, IEnumerable<int> blobs = null, bool backup = false, bool auth = true)

    where T : Content

Parameters

content

The Content to update.

blobs
System.Collections.Generic.IEnumerable

Ids of Blobs to attach (when content implements IHasAttachments).

backup
bool

true to add the current version to the version history, otherwise false (only when content implements IVersionable).

auth
bool

Returns