Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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,
bool forceNullTerminator
)
protected:
static void WriteStringValue(
Stream^ stream,
String^ value,
int maxLength,
bool pad,
bool forceNullTerminator
)
Protected Shared Sub WriteStringValue (
stream As Stream,
value As String,
maxLength As Integer,
pad As Boolean,
forceNullTerminator 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
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