BlobBuilder.WriteReference(Int32, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Writes a reference to a heap (heap offset) or a table (row number).
public:
void WriteReference(int reference, bool isSmall);
public void WriteReference (int reference, bool isSmall);
member this.WriteReference : int * bool -> unit
Public Sub WriteReference (reference As Integer, isSmall As Boolean)
Parameters
- reference
- Int32
Heap offset or table row number.
- isSmall
- Boolean
true
to encode the reference as a 16-bit integer; false
to encode it as a 32-bit integer.
Exceptions
Builder is not writable, it has been linked with another one.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.