Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IHasFlags

    Marker interface that indicates the type has support for backoffice flags (presented as icons overlaying the main icon for the entity).

    Namespace: Umbraco.Cms.Api.Management.ViewModels
    Assembly: Umbraco.Cms.Api.Management.dll
    Syntax
    public interface IHasFlags

    Properties

    View Source

    Flags

    Gets the collection of flag for the entity.

    Declaration
    IEnumerable<FlagModel> Flags { get; }
    Property Value
    Type Description
    IEnumerable<FlagModel>
    View Source

    Id

    Gets the unique identifier for the entity.

    Declaration
    Guid Id { get; }
    Property Value
    Type Description
    Guid

    Methods

    View Source

    AddFlag(string)

    Adds a flag to the entity with the specified alias.

    Declaration
    void AddFlag(string alias)
    Parameters
    Type Name Description
    string alias
    View Source

    RemoveFlag(string)

    Removes a flag from the entity with the specified alias.

    Declaration
    void RemoveFlag(string alias)
    Parameters
    Type Name Description
    string alias
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX