Click or drag to resize

DataBlock Class

The class allows to store the data information in the hierarchical form. Supports creation of children and attributes.
Inheritance Hierarchy
SystemObject
  NeoAxisDataBlock

Namespace: NeoAxis
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public class DataBlock

The DataBlock type exposes the following members.

Constructors
 NameDescription
Public methodDataBlock It is applied only to creation root blocks. Not for creation of children.
Top
Properties
 NameDescription
Public propertyAttributes Gets the attributes collection. Don't modify.
Public propertyChildren Gets the children collection. Don't modify.
Public propertyName Gets or set block name.
Public propertyParent Gets the parent block.
Top
Methods
 NameDescription
Public methodAddChild Creates the child block.
Public methodAttributeExists Checks existence of attribute.
Public methodDeleteAllAttributes Deletes all attributes.
Public methodDeleteAttribute Deletes attribute if he exists.
Public methodDeleteChild Deletes child block.
Public methodDumpToBuffer Returns a buffer containing all data about the block and his children.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodFindChild Finds child block by name.
Public methodGetAttribute Returns the attribute by name if exists.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodStatic memberParse Parses the text with data of the block and his children.
Public methodToString Returns a string that represents the current text block.
(Overrides ObjectToString)
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also