Search Results for

    Show / Hide Table of Contents
    View Source

    Class RelationTypeExtensions

    Provides extension methods for IRelationType.

    Inheritance
    object
    Namespace: Umbraco.Extensions
    Assembly: Umbraco.Core.dll
    Syntax
    public static class RelationTypeExtensions

    Methods

    View Source

    IsDeletableRelationType(IRelationType)

    Determines whether the relation type can be deleted.

    Declaration
    public static bool IsDeletableRelationType(this IRelationType relationType)
    Parameters
    Type Name Description
    IRelationType relationType

    The relation type to check.

    Returns
    Type Description
    bool

    true if the relation type can be deleted; otherwise, false.

    Remarks

    System relation types cannot be deleted.

    View Source

    IsSystemRelationType(IRelationType)

    Determines whether the relation type is a built-in system relation type.

    Declaration
    public static bool IsSystemRelationType(this IRelationType relationType)
    Parameters
    Type Name Description
    IRelationType relationType

    The relation type to check.

    Returns
    Type Description
    bool

    true if the relation type is a system relation type; otherwise, false.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX