Compartilhar via


Método GetChar

Gets a character value of the specified column.

Namespace:  Microsoft.SqlServer.Management.Trace
Assembly:  Microsoft.SqlServer.ConnectionInfoExtended (em Microsoft.SqlServer.ConnectionInfoExtended.dll)

Sintaxe

'Declaração
Public Function GetChar ( _
    ordinal As Integer _
) As Char
'Uso
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

Parâmetros

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

Valor de retorno

Tipo: System. . :: . .Char
A Char value of the specified column.

Implementa

IDataRecord. . :: . .GetChar(Int32)

Exemplos

Readme_Tracer