Struct PropertyPointerRow
- Namespace
- AsmResolver.PE.DotNet.Metadata.Tables
- Assembly
- AsmResolver.PE.dll
Represents a single row in the property pointer metadata table.
public struct PropertyPointerRow : IMetadataRow, IReadOnlyList<uint>, IReadOnlyCollection<uint>, IEnumerable<uint>, IEnumerable, IEquatable<PropertyPointerRow>
- Implements
- Inherited Members
Constructors
PropertyPointerRow(uint)
Creates a new row for the property pointer metadata table.
public PropertyPointerRow(uint property)
Parameters
propertyuintThe index into the Property table that this pointer references.
Properties
Count
public int Count { get; }
Property Value
this[int]
public uint this[int index] { get; }
Parameters
indexint
Property Value
Property
Gets or sets an index into the Property table that this pointer references.
public uint Property { readonly get; set; }
Property Value
TableIndex
Gets or sets the index of the table that this row is stored in.
public TableIndex TableIndex { get; }
Property Value
Methods
Equals(PropertyPointerRow)
public bool Equals(PropertyPointerRow other)
Parameters
otherPropertyPointerRow
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
FromReader(ref BinaryStreamReader, TableLayout)
Reads a single property pointer row from an input stream.
public static PropertyPointerRow FromReader(ref BinaryStreamReader reader, TableLayout layout)
Parameters
readerBinaryStreamReaderThe input stream.
layoutTableLayoutThe layout of the property pointer table.
Returns
- PropertyPointerRow
The row.
GetEnumerator()
public IEnumerator<uint> GetEnumerator()
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Write(BinaryStreamWriter, TableLayout)
Writes the row to an output stream.
public void Write(BinaryStreamWriter writer, TableLayout layout)
Parameters
writerBinaryStreamWriterThe output stream writer.
layoutTableLayoutThe new layout of the table.
Operators
operator ==(PropertyPointerRow, PropertyPointerRow)
Determines whether two rows are considered equal.
public static bool operator ==(PropertyPointerRow left, PropertyPointerRow right)
Parameters
leftPropertyPointerRowrightPropertyPointerRow
Returns
operator !=(PropertyPointerRow, PropertyPointerRow)
Determines whether two rows are not considered equal.
public static bool operator !=(PropertyPointerRow left, PropertyPointerRow right)
Parameters
leftPropertyPointerRowrightPropertyPointerRow