ICustomPropertyProvider 인터페이스

정의

ICustomProperty 지원에 대한 조회 서비스를 제공합니다. 이 인터페이스는 사용자 지정 정의 속성을 런타임 바인딩 원본으로 사용할 수 있도록 개체에 의해 구현됩니다.

public interface class ICustomPropertyProvider
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2089965397, 15944, 17076, 134, 119, 118, 55, 34, 103, 3, 63)]
struct ICustomPropertyProvider
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(2089965397, 15944, 17076, 134, 119, 118, 55, 34, 103, 3, 63)]
public interface ICustomPropertyProvider
Public Interface ICustomPropertyProvider
파생
특성

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10240.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v1.0에서 도입되었습니다.)

속성

Type

사용자 지정 속성의 기본 형식을 가져옵니다.

메서드

GetCustomProperty(String)

속성 이름을 지정하여 사용자 지정 속성의 ICustomProperty 지원 개체를 가져옵니다.

GetIndexedProperty(String, TypeName)

속성 이름과 인덱싱된 컬렉션의 형식을 지정하여 사용자 지정 속성의 ICustomProperty 지원 개체를 가져옵니다.

GetStringRepresentation()

구현이 System.Object를 지원한다는 가정 하에 "GetStringFromObject" 및/또는 "ToString" 논리를 지원합니다. 이 논리는 데이터 콘텐츠를 기반으로 UI 자동화 값 생성과 같은 기능 또는 서비스에서 액세스할 수 있습니다.

적용 대상

추가 정보