Share via


RegionsOfInterestControl.SetRegionsAsync Method

Definition

Overloads

SetRegionsAsync(IIterable<RegionOfInterest>)

Asynchronously sets the regions of interest.

SetRegionsAsync(IIterable<RegionOfInterest>, Boolean)

Asynchronously sets the regions of interest and specifies if the values should be locked.

SetRegionsAsync(IIterable<RegionOfInterest>)

Asynchronously sets the regions of interest.

public:
 virtual IAsyncAction ^ SetRegionsAsync(IIterable<RegionOfInterest ^> ^ regions) = SetRegionsAsync;
/// [Windows.Foundation.Metadata.Overload("SetRegionsAsync")]
IAsyncAction SetRegionsAsync(IIterable<RegionOfInterest> const& regions);
[Windows.Foundation.Metadata.Overload("SetRegionsAsync")]
public IAsyncAction SetRegionsAsync(IEnumerable<RegionOfInterest> regions);
function setRegionsAsync(regions)
Public Function SetRegionsAsync (regions As IEnumerable(Of RegionOfInterest)) As IAsyncAction

Parameters

regions

IIterable<RegionOfInterest>

IEnumerable<RegionOfInterest>

The regions of interest.

Returns

The object that is used to control the asynchronous operation.

Attributes

See also

Applies to

SetRegionsAsync(IIterable<RegionOfInterest>, Boolean)

Asynchronously sets the regions of interest and specifies if the values should be locked.

public:
 virtual IAsyncAction ^ SetRegionsAsync(IIterable<RegionOfInterest ^> ^ regions, bool lockValues) = SetRegionsAsync;
/// [Windows.Foundation.Metadata.Overload("SetRegionsWithLockAsync")]
IAsyncAction SetRegionsAsync(IIterable<RegionOfInterest> const& regions, bool const& lockValues);
[Windows.Foundation.Metadata.Overload("SetRegionsWithLockAsync")]
public IAsyncAction SetRegionsAsync(IEnumerable<RegionOfInterest> regions, bool lockValues);
function setRegionsAsync(regions, lockValues)
Public Function SetRegionsAsync (regions As IEnumerable(Of RegionOfInterest), lockValues As Boolean) As IAsyncAction

Parameters

regions

IIterable<RegionOfInterest>

IEnumerable<RegionOfInterest>

The regions of interests.

lockValues
Boolean

bool

Specifies if the values should be locked.

Returns

The object that is used to control the asynchronous operation.

Attributes

See also

Applies to