Creates a new
TypeSet that includes all types that match the
supplied
typeName and all types in this
TypeSet.
If
includeSubClasses is
true, all
subclasses of the matched types will also be added.
Namespace:
SciTech.NetMemProfiler
Assembly:
MemProfiler2 (in MemProfiler2.dll)
Syntax
| C# |
|---|
public TypeSet Add(
string typeName,
bool includeSubClasses
) |
| Visual Basic |
|---|
Public Function Add ( _
typeName As String, _
includeSubClasses As Boolean _
) As TypeSet |
| Visual C++ |
|---|
public:
TypeSet^ Add(
String^ typeName,
bool includeSubClasses
) |
Parameters
- typeName
- Type: System..::..String
The names of the Types
that should be added to the new TypeSet.
- includeSubClasses
- Type: System..::..Boolean
Indicates whether subclasses of the matched types
should also be added.
Return Value
A new
TypeSet that contains the matched types, in
addition to the types in this
TypeSet.
See Also