NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

BinaryEditor.ConvertToValue

Converts the given byte array back into a native object. If the object itself needs to be replace (as is the case for arrays), then a new object may be assigned out through the parameter.

[Visual Basic]
Overridable Protected Sub ConvertToValue( _
   ByVal bytes() As Byte, _
   ByRef value As Object _
)
[C#]
protected virtual void ConvertToValue(
   byte[] bytes,
   ref object value
);
[C++]
protected: virtual void ConvertToValue(
   unsigned char* bytes[],
   Object** value
);
[JScript]
protected function ConvertToValue(
   bytes : Byte[],
   value : Object
);

Parameters

bytes
The array of bytes to convert.
value
The object to store the array into. If you relace value, you should replace it with the same type.

See Also

BinaryEditor Class | BinaryEditor Members | System.ComponentModel.Design Namespace