Share via


TraceReader.GetFieldType(Int32) Method

Definition

Returns the field type of the data value at the specified column position.

public:
 virtual Type ^ GetFieldType(int ordinal);
public Type GetFieldType (int ordinal);
abstract member GetFieldType : int -> Type
override this.GetFieldType : int -> Type
Public Function GetFieldType (ordinal As Integer) As Type

Parameters

ordinal
Int32

An Int32 value that specifies the column position of the data.

Returns

A Type system object value that specifies the field type of the data value.

Implements

Examples

Readme_Tracer

Remarks

The value returned corresponds to the type of Object value that is returned from GetValue method.

Applies to