PhotoCaptureDevice.GetProperty method

Gets the value of a known camera property.

Syntax

public object GetProperty(
  Guid propertyId
)
Public Function GetProperty(
  propertyId As Guid 
) As Object
public:
Object^ GetProperty(
  Guid propertyId
)

Parameters

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

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

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

Capabilities

ID_CAP_ISV_CAMERA [Windows Phone]

Attributes

[Deprecated()]

See also

PhotoCaptureDevice