PhotoCaptureDevice.SetProperty method

Applies to Windows Phone only

Sets the value of a known camera property.

Syntax


public void SetProperty(
  Guid propertyId, 
  object value
)

Parameters

propertyId

Type: System.Guid [.NET] | Platform::Guid [C++]

The ID of a known camera property from KnownCameraGeneralProperties or KnownCameraPhotoProperties.

value

Type: System.Object [.NET] | Platform::Object [C++]

The new value of the property.

Remarks

Properties specified by KnownCameraGeneralProperties apply to both the PhotoCaptureDevice and AudioVideoCaptureDevice classes. Properties specified by KnownCameraPhotoProperties apply only to the PhotoCaptureDevice class. Properties specified by KnownCameraAudioVideoProperties apply only to the AudioVideoCaptureDevice class.

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

End of phone support

Windows Phone 8.1 [Windows Phone Silverlight 8.1 apps only]

Namespace

Windows.Phone.Media.Capture
Windows::Phone::Media::Capture [C++]

Metadata

Windows.winmd

Capabilities

ID_CAP_ISV_CAMERA [Windows Phone]

See also

PhotoCaptureDevice

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.