ContentService.Delete Method

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

Overloads

Delete(Int32, Boolean) Permanently deletes an Content item and its descendants from the repository.
Delete(Int32, Int64, Boolean) Permanently deletes the specified Content version from the version history.

Delete(Int32, Boolean)

Permanently deletes an Content item and its descendants from the repository.

This will delete the object and can cause a cascading effect where multiple objects will be deleted.

public static Content Delete(int id, bool auth = true)

Parameters

id
System.Int32
auth
System.Boolean

Returns

Content

The deleted .

Delete(Int32, Int64, Boolean)

Permanently deletes the specified Content version from the version history.

public static Content Delete(int id, long version, bool auth = true)

Parameters

id
System.Int32
version
System.Int64
auth
System.Boolean

Returns