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

参数

  • ordinal
    类型:System. . :: . .Int32
    An Int32 value that specifies the column position from which to retrieve the by character value.

返回值

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

实现

IDataRecord. . :: . .GetChar(Int32)

示例

Readme_Tracer