共用方式為


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)