Поделиться через


Метод 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