SqlDataReader.GetValue(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the value of the specified column in its native format.
public:
override System::Object ^ GetValue(int i);
public:
virtual System::Object ^ GetValue(int i);
public override object GetValue (int i);
public object GetValue (int i);
override this.GetValue : int -> obj
abstract member GetValue : int -> obj
override this.GetValue : int -> obj
Public Overrides Function GetValue (i As Integer) As Object
Public Function GetValue (i As Integer) As Object
Parameters
- i
- Int32
The zero-based column ordinal.
Returns
This method returns DBNull for null database columns.
Implements
Remarks
GetValue returns data using the .NET Framework types.
Applies to
See also
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.