Search Results for

    Show / Hide Table of Contents
    View Source

    Class FriendlyNameAttribute

    Attribute to add a Friendly Name string with an UmbracoObjectType enum value

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.CodeAnnotations
    Assembly: Umbraco.Core.dll
    Syntax
    public class FriendlyNameAttribute : Attribute

    Constructors

    View Source

    FriendlyNameAttribute(String)

    Initializes a new instance of the FriendlyNameAttribute class Sets the friendly name value

    Declaration
    public FriendlyNameAttribute(string friendlyName)
    Parameters
    Type Name Description
    System.String friendlyName

    attribute value

    Methods

    View Source

    ToString()

    Gets the friendly name

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    string of friendly name

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • FriendlyNameAttribute(String)
    • Methods
      • ToString()
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX