EscapeIfNeeded Method
Checks whether an escape should be performed on a string, and then performs it.
Namespace: Microsoft.Data.Tools.Model
Assembly: Microsoft.Data.Tools.Model (in Microsoft.Data.Tools.Model.dll)
Syntax
'Declaration
Public Sub EscapeIfNeeded ( _
sb As StringBuilder, _
position As Integer _
)
'Usage
Dim instance As QualifiedFormatter
Dim sb As StringBuilder
Dim position As Integer
instance.EscapeIfNeeded(sb, position)
public void EscapeIfNeeded(
StringBuilder sb,
int position
)
public:
void EscapeIfNeeded(
StringBuilder^ sb,
int position
)
member EscapeIfNeeded :
sb:StringBuilder *
position:int -> unit
public function EscapeIfNeeded(
sb : StringBuilder,
position : int
)
Parameters
- sb
Type: System.Text..::..StringBuilder
The string to potentially escape
- position
Type: System..::..Int32
The position at which to start the escape