Search Results for

    Show / Hide Table of Contents
    View Source

    Class MemberPropertySettings

    Represents settings for member properties including reserved field names.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public class MemberPropertySettings

    Constructors

    View Source

    MemberPropertySettings()

    Declaration
    public MemberPropertySettings()

    Properties

    View Source

    ReservedFieldNames

    Gets a set of standard names for fields that cannot be used for custom properties.

    Declaration
    public ISet<string> ReservedFieldNames { get; }
    Property Value
    Type Description
    ISet<string>

    Methods

    View Source

    AddReservedFieldName(string)

    Adds a single reserved field name.

    Declaration
    public bool AddReservedFieldName(string name)
    Parameters
    Type Name Description
    string name

    The field name to reserve.

    Returns
    Type Description
    bool

    true if the name was added; false if it already exists.

    View Source

    AddReservedFieldNames(ISet<string>)

    Adds multiple reserved field names.

    Declaration
    public void AddReservedFieldNames(ISet<string> names)
    Parameters
    Type Name Description
    ISet<string> names

    The set of field names to reserve.

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