GetString 方法

Returns a String that contains the value from the specified column.

命名空间:  Microsoft.AnalysisServices.AdomdClient
程序集:  Microsoft.AnalysisServices.AdomdClient(在 Microsoft.AnalysisServices.AdomdClient.dll 中)

语法

声明
Public Function GetString ( _
    ordinal As Integer _
) As String
用法
Dim instance As AdomdDataReader
Dim ordinal As Integer
Dim returnValue As String

returnValue = instance.GetString(ordinal)
public string GetString(
    int ordinal
)
public:
virtual String^ GetString(
    int ordinal
) sealed
abstract GetString : 
        ordinal:int -> string 
override GetString : 
        ordinal:int -> string 
public final function GetString(
    ordinal : int
) : String

参数

返回值

类型:System. . :: . .String
A String that contains the value of the specified column.

实现

IDataRecord. . :: . .GetString(Int32)