Click or drag to resize

ExtensionsGetObjectToBytes Method

Convert an object to byte array

Namespace:  SOWIWeb.Helper
Assembly:  SOWIWeb.Helper (in SOWIWeb.Helper.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax
public static byte[] GetObjectToBytes(
	this Object pObject
)

Parameters

pObject
Type: SystemObject
An object that can convert to byte array

Return Value

Type: Byte
Byte array

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Object. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also