Class LayoutConstant
- Namespace
- CStructSharp.Introspection
- Assembly
- CStructSharp.dll
One #define of a compiled layout, as published by Constants.
public sealed class LayoutConstant
- Inheritance
-
LayoutConstant
- Inherited Members
Properties
Kind
Gets what kind of value the definition carries.
public LayoutConstantKind Kind { get; }
Property Value
Name
Gets the defined name.
public string Name { get; }
Property Value
Value
Gets the value: a BigInteger, string, a fresh byte[] copy, or null (see LayoutConstantKind).
public object? Value { get; }
Property Value
Methods
ToString()
Renders the definition as the #define line that produces it.
public override string ToString()
Returns
- string
A
#defineline, with text and byte values quoted and escaped.