HierarchicalDataSourceConverter.IsValidDataSource(IComponent) 메서드

정의

지정된 구성 요소가 이 변환기의 올바른 데이터 소스인지 여부를 나타냅니다.

protected:
 override bool IsValidDataSource(System::ComponentModel::IComponent ^ component);
protected override bool IsValidDataSource (System.ComponentModel.IComponent component);
override this.IsValidDataSource : System.ComponentModel.IComponent -> bool
Protected Overrides Function IsValidDataSource (component As IComponent) As Boolean

매개 변수

component
IComponent

올바른 데이터 소스인지 여부를 검사할 구성 요소입니다.

반환

Boolean

componentIHierarchicalEnumerable을 구현하면 true이고, 그렇지 않으면 false입니다.

설명

합니다 GetStandardValues 메서드는 IsValidDataSource 표준 액세스 가능 데이터 원본으로 사용할 수 있는 구성 요소를 결정 하는 방법입니다. 에 대 한 합니다 HierarchicalDataSourceConverter 클래스는 올바른 데이터 소스를 구현 하는 구성 요소는 IHierarchicalEnumerable 인터페이스입니다.

적용 대상

추가 정보