OperationCompletedEventArgs OperationCompletedEventArgs OperationCompletedEventArgs OperationCompletedEventArgs Class

Definition

Contains info about the action that a target app completed during a paste operation.

public : sealed class OperationCompletedEventArgs : IOperationCompletedEventArgs, IOperationCompletedEventArgs2
public sealed class OperationCompletedEventArgs : IOperationCompletedEventArgs, IOperationCompletedEventArgs2
Public NotInheritable Class OperationCompletedEventArgs Implements IOperationCompletedEventArgs, IOperationCompletedEventArgs2
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

An OperationCompleted event occurs when the user pastes content.

Properties

AcceptedFormatId AcceptedFormatId AcceptedFormatId AcceptedFormatId

Gets the accepted format Id.

public : Platform::String AcceptedFormatId { get; }
public string AcceptedFormatId { get; }
Public ReadOnly Property AcceptedFormatId As string
var string = operationCompletedEventArgs.acceptedFormatId;
Value
Platform::String string string string

The accepted format Id.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v2)

Operation Operation Operation Operation

Specifies the operation that the target app completed.

public : DataPackageOperation Operation { get; }
public DataPackageOperation Operation { get; }
Public ReadOnly Property Operation As DataPackageOperation
var dataPackageOperation = operationCompletedEventArgs.operation;
Value
DataPackageOperation DataPackageOperation DataPackageOperation DataPackageOperation

An enumeration that specifies what operation (such as copy or move) was completed. At most one operation flag can be set.