Partager via


Méthode GetChar

Gets a character value of the specified column.

Espace de noms :  Microsoft.SqlServer.Management.Trace
Assembly :  Microsoft.SqlServer.ConnectionInfoExtended (en Microsoft.SqlServer.ConnectionInfoExtended.dll)

Syntaxe

'Déclaration
Public Function GetChar ( _
    ordinal As Integer _
) As Char
'Utilisation
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

Paramètres

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

Valeur de retour

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

Implémente

IDataRecord. . :: . .GetChar(Int32)

Exemples

Readme_Tracer