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.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈