Spread Windows Forms 9.0 Product Documentation
CreateStringWithLiterals Method
Example 


String that contains original characters
Creates a string composed of literal characters.
Syntax
'Declaration
 
Public Overridable Function CreateStringWithLiterals( _
   ByVal originalString As String _
) As String
'Usage
 
Dim instance As SuperEditBase
Dim originalString As String
Dim value As String
 
value = instance.CreateStringWithLiterals(originalString)
public virtual string CreateStringWithLiterals( 
   string originalString
)

Parameters

originalString
String that contains original characters

Return Value

String containing literal characters
Remarks
Use this method to create a string composed of literal characters. You might want to use this method if you are creating a mask. Instead of having to escape out the literals using a backslash character when setting the mask, you can call this method and provide it your string. It returns the string of literal characters to use in your mask.
Example
stringd="\\server\\share\\control.txt";
control.CreateStringWithLiterals(d);
DimdAsString="\server\share\control.txt"
control.CreateStringWithLiterals(d)
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

SuperEditBase Class
SuperEditBase Members

 

 


Copyright © GrapeCity, inc. All rights reserved.