Windows Dev Center

ICameraCaptureDevice.SetProperty method

Sets the value of a known camera property.

Syntax


void SetProperty(
  Guid propertyId, 
  object value
)

Parameters

propertyId

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

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

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

Attributes

[Deprecated()]

See also

ICameraCaptureDevice

 

 

Show:
© 2015 Microsoft