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

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdErrorCollection Class
TdErrorCollection Members