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
ProductVersionsPlatforms
.NET2.1, 3.1, 6Windows, Linux, MacOS
.NET Framework4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdQueryBand Class
TdQueryBand Members