SetSqlChars Method (Int32, SqlChars, Int32) (ITypedSetters Interface)

Sets the data, for a parameter or column, as the specified type. No conversions are applied. The assembly that contains this class has a friend relationship with SQLAccess.dll.  It is intended for use by SQL Server.  For other databases, use the hosting mechanism provided by that database.

Namespace: Microsoft.SqlServer.Server

Assembly: System.Data (in System.Data.dll)

Sub SetSqlChars(ByVal ordinal As Integer, ByVal value As SqlChars, ByVal offset As Integer)
void SetSqlChars (int ordinal, SqlChars value, int offset);

Parameters

Parameter

Description

ordinal

The zero-based parameter ordinal.

value

The value for the specified parameter.

offset

The index within the parameters value to begin the write operation.

Version Information

.NET Framework

Supported in: 2.0