Table of Contents

Interface IField

Namespace
ToSic.Sxc.Data
Assembly
ToSic.Sxc.Data.dll

This describes a field-property of an item/entity.

[InternalApi_DoNotUse_MayChangeWithoutNotice("This is just FYI so you see how it works; you shouldn't use any of these properties in your code")]
public interface IField : IHasMetadata
Inherited Members

Remarks

It's used for APIs which can need to know more about the field holding an item, like:

  • The field name and parent reference
  • The values in raw and converted
  • Any metadata of the field

History

  • Created in v13.10, originally as IDynamicField
  • In v16.02 renamed IField as it's not dynamic, and published
  • In 16.02 changed types of Value and Raw to object - previously dynamic

Properties

Name

The field name

string Name { get; }

Property Value

string

Parent

The parent object of this field

ITypedItem Parent { get; }

Property Value

ITypedItem