Send feedback on this topic.
Teradata.Client.Provider
TryGetValue Method (TdQueryBand)



Teradata.Client.Provider Namespace > TdQueryBand Class : TryGetValue Method
The name of the Query Band.
The value of the Query Band.
Retrieves the value that corresponds to the Query Band key.
Syntax
'Declaration
 
Public Function TryGetValue( _
   ByVal key As String, _
   ByRef value As Object _
) As Boolean
'Usage
 
Dim instance As TdQueryBand
Dim key As String
Dim value As Object
Dim value As Boolean
 
value = instance.TryGetValue(key, value)
public bool TryGetValue( 
   string key,
   out object value
)
public:
bool TryGetValue( 
   String^ key,
   [Out] Object^ value
) 

Parameters

key
The name of the Query Band.
value
The value of the Query Band.

Return Value

true the Query Band that matches the key, otherwise a false is returned.
Exceptions
ExceptionDescription
The key is a null reference.
Remarks
When true is returned, the Query Band that matches the key is returned in value.
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