Version

EmitLiteral Method (DefaultODataLiteralEmitter)

Emits an odata formatted literal.
Syntax
'Declaration
 
Public Function EmitLiteral( _
   ByVal value As Object, _
   ByVal leaveUnquoted As Boolean _
) As String
public string EmitLiteral( 
   object value,
   bool leaveUnquoted
)

Parameters

value
The value to emit.
leaveUnquoted
Whether the value should be left unquoted if a string.

Return Value

The literal string.
Requirements

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