Size Property

Syntax:

public int Size { get; set; }

Description:

Type: System.Int32

The Size property is used for binary and string types. For binary data, the size is the number of bytes. For string data the size is the number of characters and does not include the null terminating character.

Exceptions:

Exception Condition
ArgumentOutOfRangeException The value specified is less than zero.

Reference:

For more information, reference MSDN documentation for: System.Data.Common.DbParamter.Size