ToString Method (ValueListItem)

Overridden to facilitate easy lookup of items (when finding a match for a text)
Public Overrides Function ToString() As String
public override string ToString()

Return Value

Depending on the valuelist's ValueList.DisplayStyle, a string representation of the DisplayText or DataValue

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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