TextDecorationCollection.TryRemove 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
현재 컬렉션에서 컬렉션을 TextDecorations 제거하고 결과(새) 컬렉션을 반환합니다.
public:
bool TryRemove(System::Collections::Generic::IEnumerable<System::Windows::TextDecoration ^> ^ textDecorations, [Runtime::InteropServices::Out] System::Windows::TextDecorationCollection ^ % result);
public bool TryRemove(System.Collections.Generic.IEnumerable<System.Windows.TextDecoration> textDecorations, out System.Windows.TextDecorationCollection result);
member this.TryRemove : seq<System.Windows.TextDecoration> * TextDecorationCollection -> bool
Public Function TryRemove (textDecorations As IEnumerable(Of TextDecoration), ByRef result As TextDecorationCollection) As Boolean
매개 변수
- textDecorations
- IEnumerable<TextDecoration>
제거할 컬렉션입니다.
- result
- TextDecorationCollection
결과를 포함하는 Out 매개 변수입니다. 현재 컬렉션에서 제거된 요소가 없는 경우 원래 컬렉션 result 과 동일한 새 컬렉션입니다.
반품
true현재 컬렉션에서 하나 이상의 항목이 제거되었으면 이고, 그렇지 않으면 . false
설명
현재 컬렉션은 변경되지 않은 상태로 유지됩니다. 제거할 컬렉션이 현재 컬렉션의 하위 집합이 아닌 경우 요소가 제거되지 않습니다. 원본 컬렉션에 항목의 여러 인스턴스가 있는 경우 항목의 모든 인스턴스가 제거됩니다.