Npgsql API Documentation

NpgsqlParameter.Size Property

[This is preliminary documentation and subject to change.]

Gets or sets the maximum size, in bytes, of the data within the column.

[Visual Basic]
<DefaultValue(Value=0)>
<Category(Category="Data")>
NotOverridable Public Property Size As Integer Implements _
   IDbDataParameter.Size
[C#]
[DefaultValue(Value=0)]
[Category(Category="Data")]
public int Size {get; set;}

Property Value

The maximum size, in bytes, of the data within the column. The default value is inferred from the parameter value.

Implements

IDbDataParameter.Size

See Also

NpgsqlParameter Class | Npgsql Namespace