ICollectionContract<C>.Remove(C) 메서드

정의

IContract에서 맨 처음 발견되는 특정 ICollectionContract<C>를 제거합니다.

public:
 bool Remove(C item);
public bool Remove (C item);
abstract member Remove : 'C -> bool
Public Function Remove (item As C) As Boolean

매개 변수

item
C

IContract에서 제거할 ICollectionContract<C>입니다.

반환

item이 제거되면 true이고, 그렇지 않으면 false입니다. 이 메서드는 falseitem에 없는 경우에도 ICollectionContract<C>를 반환합니다.

예외

ICollectionContract<C>이 읽기 전용인 경우

설명

결정할 여부를 ICollectionContract<C> 읽기 전용인 지를 호출 합니다 GetIsReadOnly 메서드.

적용 대상