11 references to Length
System.Data (11)
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (4)
102
return value.
Length
;
105
length = CheckXetParameters( metaData.SqlDbType, metaData.MaxLength * sizeof(char), value.
Length
,
2488
length = CheckXetParameters( metaData.SqlDbType, metaData.MaxLength, NoLengthLimit /* actual */, 0, value.
Length
, offset, value.
Length
- offset );
fx\src\data\System\Data\Sql\SqlMetaData.cs (3)
904
if (value.
Length
< MaxLength) {
923
if (value.
Length
> MaxLength && Max != MaxLength) {
1196
maxLen = sb.
Length
;
fx\src\data\System\Data\SqlClient\SqlParameter.cs (2)
1670
return ((SqlBinary)value).
Length
;
1708
return ((SqlBinary) value).
Length
;
fx\src\data\System\Data\SqlClient\TdsParser.cs (2)
9416
actualLengthInBytes = (isSqlType) ? ((SqlBinary)value).
Length
: ((byte[])value).Length;
9537
ccb = (isSqlType) ? ((SqlBinary)value).
Length
: ((byte[])value).Length;