Partager via


VarFile.WriteValue<T> Method (Stream, T)

 

Writes a primitive value type into the stream. Do not use this method for a string.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

protected static void WriteValue<T>(
    Stream stream,
    T value
)
protected:
generic<typename T>
static void WriteValue(
    Stream^ stream,
    T value
)
Protected Shared Sub WriteValue(Of T) (
    stream As Stream,
    value As T
)

Parameters

  • value
    Type: T

    The value.

Type Parameters

  • T
    Value type.

See Also

VarFile Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top