Show / Hide Table of Contents

    Method IsSameOrSubclassOf

    IsSameOrSubclassOf(Type, Type)

    Tests whether the provided Type is equal to or a subclass of this Type.
    Declaration
    public static bool IsSameOrSubclassOf(this Type type, Type otherType)
    Parameters
    Type Name Description
    Type type This Type instance.
    Type otherType The Type instance to check for equivalence to this type instance or whether it is a subclass thereof.
    Returns
    Type Description
    Boolean true, if otherType is equal to or a subclass of type, otherwise false.
    Back to top Copyright © 2017-2018, xplo.re IT Services, Michael Maier. All rights reserved.