AppRecordingSavedScreenshotInfo Class

Definition

Represents information about an image file saved from the screenshot operation, including the StorageFile associated with the file and the media encoding subtype indicating the format of the file.

public ref class AppRecordingSavedScreenshotInfo sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Media.AppRecording.AppRecordingContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AppRecordingSavedScreenshotInfo final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Media.AppRecording.AppRecordingContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AppRecordingSavedScreenshotInfo
Public NotInheritable Class AppRecordingSavedScreenshotInfo
Inheritance
Object Platform::Object IInspectable AppRecordingSavedScreenshotInfo
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.16299.0)
API contract
Windows.Media.AppRecording.AppRecordingContract (introduced in v1.0)

Remarks

Get an instance of this class by accessing the SavedScreenshotInfos property of the AppRecordingSaveScreenshotResult returned from a call to SaveScreenshotToFileAsync.

Properties

File

Gets the file to which a screenshot saved with SaveScreenshotToFilesAsync was saved.

MediaEncodingSubtype

Gets a string representing the media encoding subtype of the image format with which a screenshot saved with SaveScreenshotToFilesAsync was encoded.

Applies to