Npgsql API Documentation |

# NpgsqlParameter.DbType 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=(DbType.String))>
NotOverridable Public Property DbType As DbType Implements _
IDataParameter.DbType
[C#]
[Category(Category="Data")]
[RefreshProperties(RefreshProperties=(RefreshProperties.All))]
[DefaultValue(Value=(DbType.String))]
public System.Data.DbType DbType {get; set;}

#### Property Value

One of the DbType values. The default is String.

#### Implements

IDataParameter.DbType

#### See Also

NpgsqlParameter Class | Npgsql Namespace