ConditionalWeakTable<TKey,TValue>.Remove 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
Remove(TKey) |
테이블에서 키와 해당 값을 제거합니다. |
Remove(TKey, TValue) |
Remove(TKey)
- Source:
- ConditionalWeakTable.cs
- Source:
- ConditionalWeakTable.cs
- Source:
- ConditionalWeakTable.cs
- Source:
- ConditionalWeakTable.cs
테이블에서 키와 해당 값을 제거합니다.
public:
bool Remove(TKey key);
public bool Remove(TKey key);
member this.Remove : 'Key -> bool
Public Function Remove (key As TKey) As Boolean
매개 변수
- key
- TKey
제거할 키입니다.
반환
키를 찾아서 제거하면 true
이고, 그렇지 않으면 false
입니다.
예외
key
은 null
입니다.
설명
이 작업 중에 키가 가비지 수집된 경우 메서드는 예외를 발생시키지 않고 반환 값이 정의되지 않습니다.
적용 대상
Remove(TKey, TValue)
- Source:
- ConditionalWeakTable.cs
public:
bool Remove(TKey key, [Runtime::InteropServices::Out] TValue % value);
public bool Remove(TKey key, out TValue value);
member this.Remove : 'Key * 'Value -> bool
Public Function Remove (key As TKey, ByRef value As TValue) As Boolean
매개 변수
- key
- TKey
- value
- TValue