Npgsql API Documentation |

# NpgsqlParameter.NpgsqlDbType Property

[This is preliminary documentation and subject to change.]

Gets or sets the DbType of the parameter.

[Visual Basic]
<Category(Category="Data")>
<RefreshProperties(RefreshProperties=(RefreshProperties.All))>
<DefaultValue(Value=(NpgsqlDbType.Text))>
Public Property NpgsqlDbType As NpgsqlDbType
[C#]
[Category(Category="Data")]
[RefreshProperties(RefreshProperties=(RefreshProperties.All))]
[DefaultValue(Value=(NpgsqlDbType.Text))]
public NpgsqlTypes.NpgsqlDbType NpgsqlDbType {get; set;}

#### Property Value

One of the DbType values. The default is String.

#### See Also

NpgsqlParameter Class | Npgsql Namespace