Version

GetSelectedValueAsString Method

Gets the selected value as formatted text. If nothing is selected, returns empty string.
Syntax
'Declaration
 
Public Function GetSelectedValueAsString( _
   ByVal raw As Boolean _
) As String
public string GetSelectedValueAsString( 
   bool raw
)

Parameters

raw
If false then returns the formatted text. If true then returns the raw text without the formatting tags. Also with raw as true, only text is returned.

Return Value

The selected value as formatted text, or an empty string if nothing is selected.
Requirements

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