다음을 통해 공유


VideoDeviceController.GetDeviceProperty(String) 메서드

정의

캡처 디바이스 드라이버에서 지정된 ID를 사용하여 속성의 값을 가져옵니다. 이 메서드를 사용하여 특정 카메라와 관련된 속성을 쿼리할 수 있습니다.

public:
 virtual Platform::Object ^ GetDeviceProperty(Platform::String ^ propertyId) = GetDeviceProperty;
IInspectable GetDeviceProperty(winrt::hstring const& propertyId);
public object GetDeviceProperty(string propertyId);
function getDeviceProperty(propertyId)
Public Function GetDeviceProperty (propertyId As String) As Object

매개 변수

propertyId
String

Platform::String

winrt::hstring

값을 검색할 속성의 식별자입니다.

반환

Object

Platform::Object

IInspectable

속성 값입니다.

설명

일반적인 디바이스 속성은 VideoDeviceController 클래스의 속성으로 노출됩니다. 추가 속성은 KSPROPERTYSETID_ExtendedCameraControl 속성 집합에 정의됩니다. 레거시 속성은 PROPSETID_VIDCAP_CAMERACONTROL 속성 집합에 정의됩니다. ID로 카메라 속성에 액세스하는 예제는 확장 컨트롤 및 메타데이터 샘플을 참조하세요.

적용 대상

추가 정보