OptionalReferencePhotoCapturedEventArgs.Context Property

Definition

Gets the app-defined context object associated with the advanced photo capture operation, if one was provided in the call to AdvancedPhotoCapture.CaptureAsync(Object).

public:
 property Platform::Object ^ Context { Platform::Object ^ get(); };
IInspectable Context();
public object Context { get; }
var object = optionalReferencePhotoCapturedEventArgs.context;
Public ReadOnly Property Context As Object

Property Value

Object

The app-defined context object associated with the advanced photo capture operation.

Remarks

One overload of AdvancedPhotoCapture.CaptureAsync allows you to provide an app-defined object that conveys context information.

Applies to