Class XDataRecord
Represents an entry in the extended data of an entity.
Inheritance
Inherited Members
Namespace: netDxf
Assembly: CADability.dll
Syntax
public class XDataRecord
Constructors
| Improve this Doc View SourceXDataRecord(XDataCode, Object)
Initializes a new XDataRecord.
Declaration
public XDataRecord(XDataCode code, object value)
Parameters
| Type | Name | Description |
|---|---|---|
| XDataCode | code | XData code. |
| System.Object | value | XData value. |
Properties
| Improve this Doc View SourceCloseControlString
An extended data control string can be either "{" or "}". These braces enable applications to organize their data by subdividing the data into lists. The left brace begins a list, and the right brace terminates the most recent list. Lists can be nested.
Declaration
public static XDataRecord CloseControlString { get; }
Property Value
| Type | Description |
|---|---|
| XDataRecord |
Code
Gets or set the XData code.
Declaration
public XDataCode Code { get; }
Property Value
| Type | Description |
|---|---|
| XDataCode |
Remarks
The only valid values are the ones defined in the XDataCode class.
OpenControlString
An extended data control string can be either "{"or "}". These braces enable applications to organize their data by subdividing the data into lists. The left brace begins a list, and the right brace terminates the most recent list. Lists can be nested.
Declaration
public static XDataRecord OpenControlString { get; }
Property Value
| Type | Description |
|---|---|
| XDataRecord |
Value
Gets or sets the XData value.
Declaration
public object Value { get; }
Property Value
| Type | Description |
|---|---|
| System.Object |
Methods
| Improve this Doc View SourceToString()
Obtains a string that represents the XDataRecord.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String | A string text. |