Dela via


SqlDataRecord.SetSqlXml(Int32, SqlXml) Method

Definition

Sets the data stored in the column to the specified SqlXml value.

public:
 virtual void SetSqlXml(int ordinal, System::Data::SqlTypes::SqlXml ^ value);
public virtual void SetSqlXml (int ordinal, System.Data.SqlTypes.SqlXml value);
abstract member SetSqlXml : int * System.Data.SqlTypes.SqlXml -> unit
override this.SetSqlXml : int * System.Data.SqlTypes.SqlXml -> unit
Public Overridable Sub SetSqlXml (ordinal As Integer, value As SqlXml)

Parameters

ordinal
Int32

The zero-based ordinal of the column.

value
SqlXml

The new value of the column.

Exceptions

The ordinal is less than 0 or greater than the number of columns (that is, FieldCount).

Applies to