ClipboardContentOptions Class
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.
Specifies options for using the SetContentWithOptions method to set content in the clipboard.
public ref class ClipboardContentOptions sealed
/// [Windows.Foundation.Metadata.Activatable(458752, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ClipboardContentOptions final
[Windows.Foundation.Metadata.Activatable(458752, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ClipboardContentOptions
function ClipboardContentOptions()
Public NotInheritable Class ClipboardContentOptions
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10, version 1809 (introduced in 10.0.17763.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v7.0)
|
Constructors
ClipboardContentOptions() |
Creates a new instance of the ClipboardContentOptions class. |
Properties
HistoryFormats |
Gets the list of data formats supported in the clipboard history for the content being added to the clipboard. |
IsAllowedInHistory |
Gets or sets a value that indicates whether the new content being added to the clipboard is allowed in the clipboard history. |
IsRoamable |
Gets or sets a value that indicates whether the new content being added to the clipboard can be synced to other devices. |
RoamingFormats |
Gets the list of data formats that can be synced to other devices for the content being added to the clipboard. |