BindingSource 생성자

정의

BindingSource 클래스의 새 인스턴스를 초기화합니다.

오버로드

BindingSource()

BindingSource 클래스의 새 인스턴스를 기본 속성 값으로 초기화합니다.

BindingSource(IContainer)

BindingSource 클래스의 새 인스턴스를 초기화하고 지정된 컨테이너에 BindingSource를 추가합니다.

BindingSource(Object, String)

지정된 데이터 소스와 데이터 멤버를 사용하여 BindingSource 클래스의 새 인스턴스를 초기화합니다.

BindingSource()

BindingSource 클래스의 새 인스턴스를 기본 속성 값으로 초기화합니다.

public:
 BindingSource();
public BindingSource ();
Public Sub New ()

설명

다음 표에서 기본 BindingSource 이 생성자에 의해 초기화 되는 속성 값입니다.

속성 기본값
DataSource null
DataMember Empty
Sort null
Filter null
RaiseListChangedEvents true

추가 정보

적용 대상

BindingSource(IContainer)

BindingSource 클래스의 새 인스턴스를 초기화하고 지정된 컨테이너에 BindingSource를 추가합니다.

public:
 BindingSource(System::ComponentModel::IContainer ^ container);
public BindingSource (System.ComponentModel.IContainer container);
new System.Windows.Forms.BindingSource : System.ComponentModel.IContainer -> System.Windows.Forms.BindingSource
Public Sub New (container As IContainer)

매개 변수

container
IContainer

현재 IContainer를 추가할 BindingSource입니다.

설명

이 생성자는 매개 변수가 없는 생성자를 호출한 다음 지정된 컨테이너에 현재 BindingSource 를 추가합니다. 이 일반적으로 사용 되지 솔루션 프로그래머가 대신 디자인 타임 환경의 작성자.

적용 대상

BindingSource(Object, String)

지정된 데이터 소스와 데이터 멤버를 사용하여 BindingSource 클래스의 새 인스턴스를 초기화합니다.

public:
 BindingSource(System::Object ^ dataSource, System::String ^ dataMember);
public BindingSource (object dataSource, string dataMember);
new System.Windows.Forms.BindingSource : obj * string -> System.Windows.Forms.BindingSource
Public Sub New (dataSource As Object, dataMember As String)

매개 변수

dataSource
Object

BindingSource의 데이터 소스입니다.

dataMember
String

바인딩할 데이터 소스 내의 특정 열 또는 목록 이름입니다.

적용 대상