Gemstone IO Library
Show/Hide TOC

# StreamSerializationTGetWriteMethod Method

Gets write serialization method for type T.

## Definition

Namespace: Gemstone.IO.Parsing
Assembly: Gemstone.IO (in Gemstone.IO.dll) Version: 1.0.155 -- Release Build+ab39a59f14bca7cb8b2a97a73d65e4a810348977
C#
View Source Request Example

    public static Action<Stream, T>? GetWriteMethod(
    	Type? elementType = null,
    	bool? skipAutoListHandling = null
    )

VB
View Source Request Example

    Public Shared Function GetWriteMethod (
    	Optional elementType As Type = Nothing,
    	Optional skipAutoListHandling As Boolean? = Nothing
    ) As Action(Of Stream, T)

C++
View Source Request Example

    public:
    static Action<Stream^, T>^ GetWriteMethod(
    	Type^ elementType = nullptr,
    	Nullable<bool> skipAutoListHandling = nullptr
    )

JavaScript
View Source Request Example

    Gemstone.IO.Parsing.StreamSerialization.GetWriteMethod = function(elementType, skipAutoListHandling);

#### Parameters

elementType Type (Optional)
  Provides a type representing the encompassed elements when type T is a list or array type, and element type cannot otherwise be ascertained, e.g., when element type is an Object.
skipAutoListHandling Nullable Boolean (Optional)
  Set to true to skip automatic handling of list types.

#### Return Value

Action Stream, T
Write serialization method.

## See Also

#### Reference

StreamSerializationT Class
Gemstone.IO.Parsing Namespace