BlobWriter.WriteReference(Int32, Boolean) Method

Definition

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 16-bit integer, false to encode as 32-bit integer.

Applies to