ICameraCaptureDevice.GetProperty method

Gets the value of a known camera property.

Syntax

object GetProperty(
  Guid propertyId
)
Function GetProperty(
  propertyId As Guid 
) As Object
Object^ GetProperty(
  Guid propertyId
)

Parameters

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

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

Return value

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

The current 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