다음을 통해 공유


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)