Search Results for

    Show / Hide Table of Contents

    Method SubtractNamespace

    SubtractNamespace(String, Boolean)

    Creates a new TypeSet with all types in the specified namespaces removed from the types in this TypeSet. If includeSubClasses is true, all subclasses of the matched types will also be removed.

    Declaration
    public TypeSet SubtractNamespace(string namespaceName, bool includeSubClasses)
    Parameters
    Type Name Description
    System.String namespaceName

    The namespace of the Types that should be removed from the new TypeSet.

    System.Boolean includeSubClasses

    Indicates whether subclasses of the matched types should also be removed.

    Returns
    Type Description
    TypeSet

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

    SubtractNamespace(String)

    Creates a new TypeSet with all types in the specified namespaces removed from the types in this TypeSet.

    Declaration
    public TypeSet SubtractNamespace(string namespaceName)
    Parameters
    Type Name Description
    System.String namespaceName

    The namespace of the Types that should be removed from the new TypeSet.

    Returns
    Type Description
    TypeSet

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

    In This Article
    Back to top

    © Copyright 2002-2020. SciTech Software AB.
    For information about .NET Memory Profiler, see the product site at https://memprofiler.com