VarFile.WriteStringValue Method (Stream, String, Boolean)
Writes a string of fixed length to the stream.
Namespace: Microsoft.ConfigurationManagement.Messaging.Framework
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
protected static void WriteStringValue(
Stream stream,
string value,
bool forceNullTerminator
)
protected:
static void WriteStringValue(
Stream^ stream,
String^ value,
bool forceNullTerminator
)
Protected Shared Sub WriteStringValue (
stream As Stream,
value As String,
forceNullTerminator As Boolean
)
Parameters
stream
Type: System.IO.StreamThe stream.
value
Type: System.StringThe value, as a string.
forceNullTerminator
Type: System.BooleanIf true, adds one byte for null termination.
See Also
WriteStringValue Overload
VarFile Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace
Return to top