New to Telerik Document ProcessingStart a free 30-day trial

Provides the outcome of a paste operation, indicating success or failure with an optional error message.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Model

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

C#
public class PasteResult : CopyPasteResultBase

Inheritance: objectCopyPasteResultBasePasteResult

Inherited Members CopyPasteResultBase.SuccessCopyPasteResultBase.ErrorMessage

Constructors

Initializes a new PasteResult with the specified success status and optional error message.

C#
public PasteResult(bool success, string errorMessage = "")
Parameters:successbool

The success.

errorMessagestring

The error message.

In this article
DefinitionConstructorsPasteResult(bool, string)
Not finding the help you need?
Contact Support