Class
RenameResourceModel

Model for renaming resources within the WebReportDesigner storage system.

Definition

Namespace:Telerik.WebReportDesigner.Services.Models

Assembly:Telerik.WebReportDesigner.Services.dll

Syntax:

cs-api-definition
public class RenameResourceModel : INamedModelBase

Inheritance: objectRenameResourceModel

Implements: INamedModelBase

Constructors

RenameResourceModel()

Declaration

cs-api-definition
public RenameResourceModel()

Properties

Name

Gets or sets the new name for the resource.

Declaration

cs-api-definition
[Required(AllowEmptyStrings = false)]
public string Name { get; set; }

Property Value

string

Implements INamedModelBase.Name

Remarks

Must be a valid resource name that doesn't conflict with existing resources in the same directory.

OldUri

Gets or sets the URI of the resource to be renamed.

Declaration

cs-api-definition
[Required(AllowEmptyStrings = false)]
public string OldUri { get; set; }

Property Value

string

Remarks

This property identifies the existing resource that will receive a new name.