Creates a new TypeSet with all types that match the supplied typeName removed from the types in this TypeSet. If includeSubClasses is true, all subclasses of the matching types will also be removed.

Namespace:  SciTech.NetMemProfiler
Assembly:  MemProfiler2 (in MemProfiler2.dll)

Syntax

C#
public TypeSet Subtract(
	string typeName,
	bool includeSubClasses
)
Visual Basic
Public Function Subtract ( _
	typeName As String, _
	includeSubClasses As Boolean _
) As TypeSet
Visual C++
public:
TypeSet^ Subtract(
	String^ typeName, 
	bool includeSubClasses
)

Parameters

typeName
Type: System..::..String
The name of the Types that should be removed from the new TypeSet.
includeSubClasses
Type: System..::..Boolean
Indicates whether subclasses of the specified types should be removed also.

Return Value

A new TypeSet that contains the types in this TypeSet, but with the specified types removed

See Also