OdbcParameter.Offset Property

Definition

Gets or sets the offset of the data within the column.

public:
 property int Offset { int get(); void set(int value); };
[System.ComponentModel.Browsable(false)]
public int Offset { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.Offset : int with get, set
Public Property Offset As Integer

Property Value

Int32

The offset of the data within the column. The default value is zero.

Attributes

Remarks

The Offset property is used for binary and string types. For fixed length data types, the value of Offset is ignored.

For nonstring data types and ANSI string data, the Offset property refers to the number of bytes. For Unicode string data, Offset refers to the number of characters.

Applies to