'Declaration
Public Overrides NotOverridable Property Size As Integer
public override int Size {get; set;}
public read-write property Size: Integer; override;
public override function get,set Size : int
'Declaration
Public Overrides NotOverridable Property Size As Integer
public override int Size {get; set;}
public read-write property Size: Integer; override;
public override function get,set Size : int
The Size property is used for binary and string types.
For nonstring data types and ANSI string data, the Size property refers to the number of bytes. For Unicode string data, Size refers to the number of characters.
If not explicitly set, the size is inferred from the actual size of the specified parameter value.
For fixed length data types, the value of Size is ignored. It can be retrieved for informational purposes, and returns the maximum amount of bytes the provider uses when transmitting the value of the parameter to the server.
.NET Framework
Version 2.0 or later