Version

Parse Method (ParsedFormattedTextValue)

Parses the specified value and returns the ParsedFormattedTextValue instance. If there is an error parsing then returns null and assigns the error a value.
Syntax
'Declaration
 
Public Shared Function Parse( _
   ByVal value As Object, _
   ByVal valueType As ParsedFormattedTextValue.ValueType, _
   ByRef error As Exception _
) As ParsedFormattedTextValue

Parameters

value
Value can be the formatted text, raw (not formatted) text or a URL.
valueType
Specifies what kind of value is value parameter.
error
If an error occurs while parsing the value then this out parameter is assigned the error.

Return Value

A ParsedFormattedTextValue based on the specified value, or null if an error occured.
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