Search Results for

    Show / Hide Table of Contents

    Method AddNamespace

    AddNamespace(String, Boolean)

    Creates a new TypeSet that includes all types in the specified namespace and all types in this TypeSet. If includeSubClasses is true, all subclasses of the matched types will also be added.

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

    The namespaces of the Types that should be added to the new TypeSet.

    System.Boolean includeSubClasses

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

    Returns
    Type Description
    TypeSet

    A new TypeSet that contains the matched types, in addition to the types in this TypeSet.

    AddNamespace(String)

    Creates a new TypeSet that includes all types in the specified namespace and all types in this TypeSet.

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

    The namespaces of the Types that should be added to the new TypeSet.

    Returns
    Type Description
    TypeSet

    A new TypeSet that contains the matched types, in addition to the types in this TypeSet.

    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