UtilSharedMemoryWriteString(String, String, Encoding) Method
Writes a String at the start position of an existing MemoryMappedFile.
Namespace: DevCase.Core.Diagnostics.ProcessesAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static void WriteString(
string name,
string str,
Encoding enc = null
)
Public Shared Sub WriteString (
name As String,
str As String,
Optional enc As Encoding = Nothing
)
Dim name As String
Dim str As String
Dim enc As Encoding
UtilSharedMemory.WriteString(name, str, enc)
public:
static void WriteString(
String^ name,
String^ str,
Encoding^ enc = nullptr
)
static member WriteString :
name : string *
str : string *
?enc : Encoding
(* Defaults:
let _enc = defaultArg enc null
*)
-> unit
No code example is currently available or this language may not be supported.
Parameters
- name String
-
The name of the MemoryMappedFile segment.
- str String
-
The text to write in the MemoryMappedFile segment.
- enc Encoding (Optional)
-
The text Encoding.
This is a code example.
No code example is currently available or this language may not be supported.
Using mmf As MemoryMappedFile = SharedMemoryUtil.Create("My MemoryMappedFile Name", capacity:=4096)
SharedMemoryUtil.WriteString("My MemoryMappedFile Name", "Hello World!", Encoding.Default)
End Using
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.