다음을 통해 공유


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

  • maxLength
    Type: System.Int32

    The maximum allowed length for the string value.

See Also

WriteStringValue Overload
VarFile Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top