Declaration
public TElement FormatReferable(
TElement element,
int refId
)Summary
Converts an existing element (which may represent, for example, an object, list or dictionary) into one that
can be referred to by a reference (see
IClassifyFormat<TElement>.FormatReference(int)).
Parameters
| TElement | element |
The original element to be converted. |
| int | refId |
The reference ID. |
Returns
A representation of the original
element, which additionally encodes the referable
refId.
Remarks
The returned element should be recognized by
IClassifyFormat<TElement>.IsReferable(TElement) as well as all the other methods that
would have also recognized the original
element.