Specify that the records are fixed-length, not byte-delimited, and
are of length Length.
Namespace:
BerkeleyDBAssembly: libdb_dotnet48 (in libdb_dotnet48.dll) Version: 4.8.24.0
Syntax
C# |
---|
public uint Length { get; set; } |
Visual Basic (Declaration) |
---|
Public Property Length As UInteger |
Visual C++ |
---|
public: property unsigned int Length { unsigned int get (); void set (unsigned int value); } |
Remarks
Any records added to the database that are less than Length bytes long are automatically padded (see PadByte for more information).
Any attempt to insert records into the database that are greater than Length bytes long will cause the call to fail immediately and return an error.
If the database already exists, this setting will be ignored.