Table of Contents

Property Key

Namespace
Velvet
Assembly
Velvet.Docs.dll

Key

Key used by the Reconciler to track node identity across renders. Null when omitted at the call site. Must not contain a NUL (U+0000) character: NUL is the delimiter the reconciler's scope chains are composed from, so a key holding one lets two distinct tree positions compose to the same scope string and reconcile as one identity.

public string? Key { get; }

Property Value

string

Exceptions

ArgumentException

Thrown when the key contains a NUL (U+0000) character.