This documentation is archived and is not being maintained.

SetChar Method (Int32, Char) (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)

void SetChar (int ordinal, Char value);


Parameter Description


The zero-based parameter ordinal.


The value for the specified parameter.

.NET Framework

Supported in: 2.0