Click or drag to resize
FieldInfo Class
Basic field definition
Inheritance Hierarchy
SystemObject
  CMS.BaseAbstractSimpleDataContainerFieldInfo
    CMS.BaseAbstractDataContainerFieldInfo
      CMS.DataEngineFieldBaseFieldInfo
        CMS.DataEngineFieldInfo

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
public class FieldInfo : FieldBase<FieldInfo>

The FieldInfo type exposes the following members.

Constructors
  NameDescription
Public methodFieldInfo
Top
Methods
  NameDescription
Public methodClone
Clones the object.
(Inherited from FieldBaseFieldType.)
Public methodContainsColumn
Returns true if specified column is available in current structure.
(Inherited from AbstractDataContainerParentObjectType.)
Public methodGetValue
Gets the object value.
(Inherited from AbstractSimpleDataContainerTObject.)
Public methodGetXmlNode
Returns the XML node representing the FormFieldInfo object.
(Inherited from FieldBaseFieldType.)
Public methodLoadFromXmlNode
Loads the field info from XML node
(Inherited from FieldBaseFieldType.)
Protected methodRegisterColumn(String, FuncTObject, Object)
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainerTObject.)
Protected methodRegisterColumn(String, FuncTObject, Object, FuncTObject, Object, Object)
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainerTObject.)
Protected methodRegisterColumns
Registers the Columns of this object for resolving data macros.
(Inherited from FieldBaseFieldType.)
Public methodSetValue
Sets the object value.
(Inherited from AbstractSimpleDataContainerTObject.)
Public methodToString
Returns field name value.
(Inherited from FieldBaseFieldType.)
Public methodTryGetValue
Returns value of column.
(Inherited from AbstractSimpleDataContainerTObject.)
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Properties
  NameDescription
Public propertyAllowEmpty
Indicates whether field allow empty values.
(Inherited from FieldBaseFieldType.)
Public propertyCaption
Column caption.
(Inherited from FieldBaseFieldType.)
Public propertyColumnNames
Available column names.
(Inherited from AbstractDataContainerParentObjectType.)
Public propertyDataType
Data type.
(Inherited from FieldBaseFieldType.)
Public propertyDefaultValue
Field default value.
(Inherited from FieldBaseFieldType.)
Public propertyExternal
Indicates if field is external, if so it represents column from another table which is included in CMS_Tree_View_Joined (CMS_Document, CMS_Node, ...).
(Inherited from FieldBaseFieldType.)
Public propertyGuid
Field unique identifier.
(Inherited from FieldBaseFieldType.)
Public propertyIsDummyField
Indicates if field has no representation in database.
(Inherited from FieldBaseFieldType.)
Public propertyIsDummyFieldFromMainForm
Indicates if dummy field is in main or alternative form
(Inherited from FieldBaseFieldType.)
Public propertyIsExtraField
Indicates if field is extra field (field is not in orignal form definition).
(Inherited from FieldBaseFieldType.)
Public propertyIsInherited
If true, the field is inherited from parent class.
(Inherited from FieldBaseFieldType.)
Public propertyIsUnique
Indicates whether field is unique.
(Inherited from FieldBaseFieldType.)
Public propertyItem
Gets or sets the value of the column.
(Inherited from AbstractSimpleDataContainerTObject.)
Public propertyName
Column name.
(Inherited from FieldBaseFieldType.)
Public propertyPrecision
Precision of the field
(Inherited from FieldBaseFieldType.)
Public propertyPrimaryKey
Indicates whether field is a primary key.
(Inherited from FieldBaseFieldType.)
Public propertyProperties
Properties of the field
(Inherited from FieldBaseFieldType.)
Public propertyPropertiesMacroTable
Macro table for the field properties.
(Inherited from FieldBaseFieldType.)
Public propertyReferenceToObjectType
ObjectType to which the given field refers (for example as a foreign key).
(Inherited from FieldBaseFieldType.)
Public propertyReferenceType
Type of the reference (used only when ReferenceToObjectType is set).
(Inherited from FieldBaseFieldType.)
Protected propertyRegisteredColumns
Registered Columns
(Inherited from AbstractSimpleDataContainerTObject.)
Protected propertyRegisteredColumnsObject
Registered Columns object
(Inherited from AbstractSimpleDataContainerTObject.)
Public propertySize
Size of the field.
(Inherited from FieldBaseFieldType.)
Public propertySystem
Indicates if field is a system field.
(Inherited from FieldBaseFieldType.)
Protected propertyUseLocalColumns
If true, the object uses local columns
(Inherited from AbstractSimpleDataContainerTObject.)
Top
See Also