Version

Key Property (NamedReference)

Retrieves the key used to identify the named reference.
Syntax
'Declaration
 
Public Overrides Property Key As String
public override string Key {get; set;}
Remarks

Developers should use the Key to reference this named reference in their formula strings. When referencing a named reference from a sub-object of a WinForms element, the syntax is "[//key]" where key is this Key of a NamedReference instance.

Web developers are responsible for ensuring the uniqueness of Key, otherwise which named reference gets retrieved from the NamedReferencesCollection is undefined.

Notice that all NamedReferences and CalcSettings are siblings of one another. Therefore, in order for developers to reference a named reference from the formula of another NamedReference instance, the double slashes are unneccessary and "[key]" is acceptable.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also