N2 API Documentation
ItemAttribute Class
NamespacesN2ItemAttribute
Decoration for N2 content items. Provides information needed in edit mode and for data integrity.
Declaration Syntax
C#Visual BasicVisual C++
public class ItemAttribute : Attribute, IDefinitionRefiner
Public Class ItemAttribute _
	Inherits Attribute _
	Implements IDefinitionRefiner
public ref class ItemAttribute : public Attribute, 
	IDefinitionRefiner
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
ItemAttributeItemAttributeNew(String)
Initializes a new instance of ItemAttribute class.

ItemAttributeItemAttributeNew(String, String)
Initializes a new instance of ItemAttribute class.

ItemAttributeItemAttributeNew(String, String, String, String, Int32)
Initializes a new instance of ItemAttribute class.

Description
Gets or sets the description of this item.

Equals(Object)
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.)
Finalize()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()
Returns the hash code for this instance.
(Inherited from Attribute.)
GetType()()
Gets the Type of the current instance.
(Inherited from Object.)
IsDefaultAttribute()()
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute.)
Match(Object)
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute.)
MayBeRoot
Gets or sets wether this items should be considered as root by the installer.

MayBeStartPage
Gets or sets wether this items should be considered as start page by the installer.

MemberwiseClone()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Name
Gets or sets the name/discriminator needed to map the appropriate type with content data when retrieving from persistence. When this is null the type's full name is used.

Refine(ItemDefinition, IList<(Of <ItemDefinition>)>)
SortOrder
Gets or sets the order of this item type when selecting new item in edit mode.

Title
Gets or sets the name used when presenting this item type to editors.

ToolTip
Gets or sets the tooltip used when presenting this item type to editors.

ToString()()
Returns a String that represents the current Object.
(Inherited from Object.)
TypeId
When implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute.)
Inheritance Hierarchy
Object
Attribute
 ItemAttribute

Assembly: N2 (Module: N2) Version: 1.0.204.35916