Struct ColumnLayout
- Namespace
- AsmResolver.PE.DotNet.Metadata.Tables
- Assembly
- AsmResolver.PE.dll
Provides a description of a single column in a metadata table.
public readonly struct ColumnLayout
- Inherited Members
Constructors
ColumnLayout(string, ColumnType)
Defines a new column layout, using a fixed size column type.
public ColumnLayout(string name, ColumnType type)
Parameters
name
stringThe name of the column.
type
ColumnTypeThe value type of the column.
Exceptions
- ArgumentException
Occurs when the provided column type does not have a fixed size.
ColumnLayout(string, ColumnType, IndexSize)
Defines a new column layout, using a fixed size column type.
public ColumnLayout(string name, ColumnType type, IndexSize size)
Parameters
name
stringThe name of the column.
type
ColumnTypeThe value type of the column.
size
IndexSizeThe size of the column.
ColumnLayout(string, ColumnType, uint)
Defines a new column layout, using a fixed size column type.
public ColumnLayout(string name, ColumnType type, uint size)
Parameters
name
stringThe name of the column.
type
ColumnTypeThe value type of the column.
size
uintThe size of the column.
Properties
Name
Gets the name of the column.
public string Name { get; }
Property Value
Size
Gets the size in bytes of each cell in this column.
public uint Size { get; }
Property Value
Type
Gets the data type that this column persists.
public ColumnType Type { get; }
Property Value
Methods
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.