Udostępnij za pośrednictwem


IsoSpeedControl.SetPresetAsync(IsoSpeedPreset) Method

Definition

Asynchronously sets the ISO film speed Preset.

public:
 virtual IAsyncAction ^ SetPresetAsync(IsoSpeedPreset preset) = SetPresetAsync;
/// [Windows.Foundation.Metadata.Deprecated("SetPresetAsync may not be available in future versions of Windows Phone. Starting with Windows Phone 8.1, use SetAutoAsync, Auto, SetValueAsync, and Value instead", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction SetPresetAsync(IsoSpeedPreset const& preset);
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("SetPresetAsync may not be available in future versions of Windows Phone. Starting with Windows Phone 8.1, use SetAutoAsync, Auto, SetValueAsync, and Value instead", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
IAsyncAction SetPresetAsync(IsoSpeedPreset const& preset);
[Windows.Foundation.Metadata.Deprecated("SetPresetAsync may not be available in future versions of Windows Phone. Starting with Windows Phone 8.1, use SetAutoAsync, Auto, SetValueAsync, and Value instead", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction SetPresetAsync(IsoSpeedPreset preset);
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("SetPresetAsync may not be available in future versions of Windows Phone. Starting with Windows Phone 8.1, use SetAutoAsync, Auto, SetValueAsync, and Value instead", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
public IAsyncAction SetPresetAsync(IsoSpeedPreset preset);
function setPresetAsync(preset)
Public Function SetPresetAsync (preset As IsoSpeedPreset) As IAsyncAction

Parameters

preset
IsoSpeedPreset

The ISO preset value to set the Preset property to.

Returns

The object that is used to control the asynchronous operation.

Attributes

Applies to