Search Results for

    Show / Hide Table of Contents
    View Source

    Class WeightAttribute

    Specifies the weight of pretty much anything.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Composing
    Assembly: Umbraco.Core.dll
    Syntax
    public class WeightAttribute : Attribute

    Constructors

    View Source

    WeightAttribute(Int32)

    Initializes a new instance of the WeightAttribute class with a weight.

    Declaration
    public WeightAttribute(int weight)
    Parameters
    Type Name Description
    System.Int32 weight

    Properties

    View Source

    Weight

    Gets the weight value.

    Declaration
    public int Weight { get; }
    Property Value
    Type Description
    System.Int32
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • WeightAttribute(Int32)
    • Properties
      • Weight
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX