DataObjectPastingEventArgs.FormatToApply Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.