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

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

See Also

Reference

TdQueryBand Class
TdQueryBand Members