AbstractSerializerSerialize Method (Object, Type) |
Serialize the object "o", in type of objectType. with out using metadata;
Namespace:
Hummingbird.TestFramework.Serialization
Assembly:
Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
Syntax public string Serialize(
Object o,
Type objectType
)
Public Function Serialize (
o As Object,
objectType As Type
) As String
public:
String^ Serialize(
Object^ o,
Type^ objectType
)
member Serialize :
o : Object *
objectType : Type -> string
Parameters
- o
- Type: SystemObject
Object to be serialized. This object must be an instance of class (or sub-class) indicated by objectType. - objectType
- Type: SystemType
Type of the object
Return Value
Type:
StringA string representation of the object using the selected serializing format
See Also