ActiveReports 12
TryGetValue Method

GrapeCity.ActiveReports.v12 Assembly > GrapeCity.Enterprise.Data.DataEngine.DataProcessing Namespace > InteractiveSortState Class : TryGetValue Method
The key of the value to get.
When this method returns, contains the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.
Gets the value associated with the specified key.
Syntax
'Declaration
 
Public Function TryGetValue( _
   ByVal key As Integer, _
   ByRef value As InteractiveSort() _
) As Boolean
public bool TryGetValue( 
   int key,
   out InteractiveSort[] value
)

Parameters

key
The key of the value to get.
value
When this method returns, contains the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.

Return Value

true if the Dictionary contains an element with the specified key; otherwise, false.
Exceptions
ExceptionDescription
key is null.
See Also

Reference

InteractiveSortState Class
InteractiveSortState Members