Table of Contents

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 string

The name of the column.

type ColumnType

The 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 string

The name of the column.

type ColumnType

The value type of the column.

size IndexSize

The 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 string

The name of the column.

type ColumnType

The value type of the column.

size uint

The size of the column.

Properties

Name

Gets the name of the column.

public string Name { get; }

Property Value

string

Size

Gets the size in bytes of each cell in this column.

public uint Size { get; }

Property Value

uint

Type

Gets the data type that this column persists.

public ColumnType Type { get; }

Property Value

ColumnType

Methods

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.