Version

JsonFromString Method (PatternValidatorRule)

Serializes a string object into json string, escaping all single quotes.
Syntax
'Declaration
 
Protected Overrides Function JsonFromString( _
   ByVal s As System.String _
) As System.String
protected override System.string JsonFromString( 
   System.string s
)

Parameters

s
The string which is to be serialized.

Return Value

The result of the serialization.
Requirements

Target Platforms: Windows 8.1, 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

View on GitHub