// db is a previously connected PostgreSQLDatabase // objectID is an integer referring to a previously created large object Var largeObject As PostgreSQLLargeObject largeObject = db.OpenLargeObject(objectID)
MessageBox("Object size in bytes: " + largeObject.Length.ToString)