Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
When overridden in a derived class, removes all tests from the provided list that match the provided filter Type.
Namespace:  Microsoft.VisualStudio.TestTools.Vsip
Assembly:  Microsoft.VisualStudio.QualityTools.Vsip (in Microsoft.VisualStudio.QualityTools.Vsip.dll)
Syntax
'Declaration
Protected Function DeleteAllTestsFromList ( _
    items As IList, _
    testTypeFilter As Type, _
    <OutAttribute> ByRef message As String _
) As Boolean
protected bool DeleteAllTestsFromList(
    IList items,
    Type testTypeFilter,
    out string message
)
protected:
bool DeleteAllTestsFromList(
    IList^ items, 
    Type^ testTypeFilter, 
    [OutAttribute] String^% message
)
member DeleteAllTestsFromList : 
        items:IList * 
        testTypeFilter:Type * 
        message:string byref -> bool
protected function DeleteAllTestsFromList(
    items : IList, 
    testTypeFilter : Type, 
    message : String
) : boolean
Parameters
- items 
 Type: System.Collections.IList- A list of test items. 
- testTypeFilter 
 Type: System.Type- The Type for the tests. 
- message 
 Type: System.String%- The message to display after the tests have been deleted. 
Return Value
Type: System.Boolean
true if all tests were successfully deleted; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.