Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

How to: Persist a BLOB Field

The following code example stores unstructured binary data in the Document property which is of the Byte array type.


public class Attachment: XPObject {
    public string Name;
    public Person Owner;
    public Byte[] Document;
}
See Also