DataSourceIDConverter.IsValidDataSource(IComponent) 메서드

정의

지정된 구성 요소가 올바른 데이터 소스인지 여부를 나타내는 값을 가져옵니다.

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

매개 변수

component
IComponent

IComponent 인터페이스를 구현하는 개체

반환

Boolean

component가 올바른 데이터 소스이면 true이고, 그렇지 않으면 false입니다.

설명

IsValidDataSource 메서드를 고려 합니다 component 구현 하는 경우 유효한 데이터 원본으로 사용할 매개 변수는 IDataSource 인터페이스.

상속자 참고

IsValidDataSource(IComponent) 표준 값 목록이 반환 되어야 할지 여부를 결정 하는 지정 된 구성 요소를 자세히 조사 해야 하는 컨트롤에서 메서드를 재정의 해야 합니다. 예를 들어, 컨트롤을 사용 하는 경우만 XmlDataSource 데이터 원본 IsValidDataSource(IComponent) 반환할지 true 는 해당 구성 요소에 대해서만 XmlDataSource 개체.

적용 대상

추가 정보