-
Hi everyone, How to Get Initial Value of a field, if it has it? please provide sample code for demonstration. Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
Washi1337
Nov 18, 2024
Replies: 1 comment 1 reply
-
The initial value for fields are stored in a FieldRva row, which can be obtained by the FieldDefinition field = ...;
if (field.FieldRva is ISegment segment)
{
// Field has FieldRva data (initial value).
byte[] rawData = segment.WriteIntoArray();
} |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
dashne
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The initial value for fields are stored in a FieldRva row, which can be obtained by the
FieldRva
property: