Send feedback on this topic.
Teradata.Client.Provider
Item Property (TdErrorCollection)



Teradata.Client.Provider Namespace > TdErrorCollection Class : Item Property
Zero-based index of the error.
Gets the TdError at the specified index.
Syntax
'Declaration
 
Public ReadOnly Default Property Item( _
   ByVal index As Integer _
) As TdError
'Usage
 
Dim instance As TdErrorCollection
Dim index As Integer
Dim value As TdError
 
value = instance.Item(index)
public TdError this[ 
   int index
]; {get;}
public:
property TdError^ default [int] {
   TdError^ get(int index);
}

Parameters

index
Zero-based index of the error.

Property Value

A TdError instance at the specified index.
Exceptions
ExceptionDescription
index is less than zero or index is equal to or greater than TdErrorCollection.Count.
Requirements
ProductVersionsPlatforms
.NET6, 7Windows, Linux, MacOS
.NET Framework4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdErrorCollection Class
TdErrorCollection Members