Upravit

Sdílet prostřednictvím


DataObjectPastingEventArgs.FormatToApply Property

Definition

Gets or sets a string specifying the suggested data format to use for the paste operation.

public:
 property System::String ^ FormatToApply { System::String ^ get(); void set(System::String ^ value); };
public string FormatToApply { get; set; }
member this.FormatToApply : string with get, set
Public Property FormatToApply As String

Property Value

A string specifying the suggested data format to use for the paste operation.

Getting this value returns the currently suggested data format to use for the paste operation.

Setting this value specifies a new suggested data format to use for the paste operation.

Exceptions

Raised when an attempt is made to set this property to null.

Raised when an attempt is made to set this property to a data format that is not present in the data object referenced by the DataObject property.

Applies to