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



Teradata.Client.Provider Namespace > TdQueryBand Class : Item Property
The key of the Query Band.
Gets or Sets a Query Band.
Syntax
'Declaration
 
Public Default Property Item( _
   ByVal key As String _
) As Object
'Usage
 
Dim instance As TdQueryBand
Dim key As String
Dim value As Object
 
instance.Item(key) = value
 
value = instance.Item(key)
public object this[ 
   string key
]; {get; set;}
public:
property Object^ default [String^] {
   Object^ get(String^ key);
   void set (String^ keyObject^ value);
}

Parameters

key
The key of the Query Band.

Property Value

The value of the corresponding key of the Query Band is returned.
Exceptions
ExceptionDescription
key is a null reference.
Remarks

If the key does not exist when setting the Query Band, a new Query Band is created.

If the key does not exist when getting a Query Band, a null reference is returned.

If the key exists and the value is a null reference, the Query Band will be removed.

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

TdQueryBand Class
TdQueryBand Members