VarFile.WriteStringValue Method (Stream, String, Int32, Boolean)
Writes a string value of a 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,
int maxLength,
bool pad
)
protected:
static void WriteStringValue(
Stream^ stream,
String^ value,
int maxLength,
bool pad
)
Protected Shared Sub WriteStringValue (
stream As Stream,
value As String,
maxLength As Integer,
pad As Boolean
)
Parameters
stream
Type: System.IO.StreamThe stream.
value
Type: System.StringThe value, as a string.
maxLength
Type: System.Int32The maximum allowed length for the string value.
- pad
Type: System.Boolean
See Also
WriteStringValue Overload
VarFile Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace
Return to top