Share via


DataRelationCollection.Remove 메서드

정의

컬렉션에서 지정된 관계를 제거합니다.

오버로드

Remove(DataRelation)

컬렉션에서 지정된 관계를 제거합니다.

Remove(String)

컬렉션에서 지정된 이름의 관계를 제거합니다.

Remove(DataRelation)

Source:
DataRelationCollection.cs
Source:
DataRelationCollection.cs
Source:
DataRelationCollection.cs

컬렉션에서 지정된 관계를 제거합니다.

public:
 void Remove(System::Data::DataRelation ^ relation);
public void Remove (System.Data.DataRelation relation);
member this.Remove : System.Data.DataRelation -> unit
Public Sub Remove (relation As DataRelation)

매개 변수

relation
DataRelation

제거할 관계입니다.

예외

관계가 null 값인 경우

관계가 컬렉션에 속하지 않는 경우

설명

CollectionChanged 제거 작업이 성공하면 이벤트가 발생합니다. 관계를 제거해도 연결된 제약 조건 개체는 제거되지 않습니다.

추가 정보

적용 대상

Remove(String)

Source:
DataRelationCollection.cs
Source:
DataRelationCollection.cs
Source:
DataRelationCollection.cs

컬렉션에서 지정된 이름의 관계를 제거합니다.

public:
 void Remove(System::String ^ name);
public void Remove (string name);
member this.Remove : string -> unit
Public Sub Remove (name As String)

매개 변수

name
String

제거할 관계의 이름입니다.

예외

컬렉션에 지정된 이름의 관계가 없는 경우

설명

CollectionChanged 제거 작업이 성공하면 이벤트가 발생합니다.

추가 정보

적용 대상