共用方式為


GetChar 方法

Gets a character value of the specified column.

命名空間:  Microsoft.SqlServer.Management.Trace
組件:  Microsoft.SqlServer.ConnectionInfoExtended (在 Microsoft.SqlServer.ConnectionInfoExtended.dll 中)

語法

'宣告
Public Function GetChar ( _
    ordinal As Integer _
) As Char
'用途
Dim instance As TraceReader
Dim ordinal As Integer
Dim returnValue As Char

returnValue = instance.GetChar(ordinal)
public char GetChar(
    int ordinal
)
public:
virtual wchar_t GetChar(
    int ordinal
) sealed
abstract GetChar : 
        ordinal:int -> char 
override GetChar : 
        ordinal:int -> char 
public final function GetChar(
    ordinal : int
) : char

參數

傳回值

型別:System. . :: . .Char
A Char value of the specified column.

實作

IDataRecord. . :: . .GetChar(Int32)

範例

Readme_Tracer