Table of Contents

Interface IAttribute

Namespace
ToSic.Eav.Data
Assembly
ToSic.Eav.Data.dll

Represents an Attribute with Values - without knowing what data type is in the value. Usually we'll extend this and use IAttribute<T> instead.

[PublicApi]
public interface IAttribute

Remarks

We recommend you read about the Understanding Data...

Properties

Name

Name of the Attribute

string Name { get; }

Property Value

string

Type

The official type, as a controlled (enum) value.

ValueTypes Type { get; }

Property Value

ValueTypes

Values

Gets a list of all IValues of this Entity's Attribute. To get the typed objects, use the Typed

IEnumerable<IValue> Values { get; }

Property Value

IEnumerable<IValue>