Windows Dev Center

PhotoCaptureDevice.SetProperty method

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

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:
© 2015 Microsoft