DataBindingCollection.Remove 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
DataBinding 컬렉션에서 개체를 DataBindingCollection 제거합니다.
오버로드
| Name | Description |
|---|---|
| Remove(String) |
컬렉션에서 DataBinding 지정된 속성 이름과 연결된 개체를 DataBindingCollection 제거하고 컬렉션에 RemovedBindings 추가합니다. |
| Remove(DataBinding) |
컬렉션에서 지정된 DataBinding 개체를 DataBindingCollection 제거하고 컬렉션에 RemovedBindings 추가합니다. |
| Remove(String, Boolean) |
DataBinding 컬렉션에서 DataBindingCollection 지정된 속성 이름과 연결된 개체를 제거하고 목록에 바인딩 RemovedBindings 을 추가할지 여부를 제어합니다. |
Remove(String)
컬렉션에서 DataBinding 지정된 속성 이름과 연결된 개체를 DataBindingCollection 제거하고 컬렉션에 RemovedBindings 추가합니다.
public:
void Remove(System::String ^ propertyName);
public void Remove(string propertyName);
member this.Remove : string -> unit
Public Sub Remove (propertyName As String)
매개 변수
- propertyName
- String
제거할 속성과 DataBinding 연결된 속성 이름입니다.
적용 대상
Remove(DataBinding)
컬렉션에서 지정된 DataBinding 개체를 DataBindingCollection 제거하고 컬렉션에 RemovedBindings 추가합니다.
public:
void Remove(System::Web::UI::DataBinding ^ binding);
public void Remove(System.Web.UI.DataBinding binding);
member this.Remove : System.Web.UI.DataBinding -> unit
Public Sub Remove (binding As DataBinding)
매개 변수
- binding
- DataBinding
DataBinding 에서 제거할 DataBindingCollection것입니다.
예제
다음 코드 예제에서는 이 버전의 메서드를 사용하고 명명DataBinding된 클래스의 DataBindingCollection 인스턴스를 지정하여 컬렉션에서 Remove 개체를 DataBinding 제거 myDataBinding1 합니다.
myDataBindingCollection1->Remove( myDataBinding1 );
dataBindingOutput8 = String::Concat( "The Count of the collection after DataBinding is removed is ", myDataBindingCollection1->Count );
WriteToFile( dataBindingOutput8 );
myDataBindingCollection1.Remove(myDataBinding1);
dataBindingOutput8 = String.Concat("The Count of the collection after DataBinding is removed is ", myDataBindingCollection1.Count);
WriteToFile(dataBindingOutput8);
myDataBindingCollection1.Remove(myDataBinding1)
dataBindingOutput8 = [String].Concat("The Count of the collection after DataBinding is removed is ", myDataBindingCollection1.Count)
WriteToFile(dataBindingOutput8)
적용 대상
Remove(String, Boolean)
DataBinding 컬렉션에서 DataBindingCollection 지정된 속성 이름과 연결된 개체를 제거하고 목록에 바인딩 RemovedBindings 을 추가할지 여부를 제어합니다.
public:
void Remove(System::String ^ propertyName, bool addToRemovedList);
public void Remove(string propertyName, bool addToRemovedList);
member this.Remove : string * bool -> unit
Public Sub Remove (propertyName As String, addToRemovedList As Boolean)
매개 변수
- propertyName
- String
제거할 속성과 DataBinding 연결된 속성입니다.
- addToRemovedList
- Boolean
목록에 속성 이름을 추가할지 여부를 나타내는 부울 값입니다 RemovedBindings .
true는 매개 변수가 propertyName 속성에 추가되고 속성 RemovedBindings 에 false 추가되지 않음을 propertyName 나타냅니다RemovedBindings.