ArcFM Responder Mobile Developer Guide
TryGetValue(T,S) Method






The key.
The mapped value.
Gets the value mapped to the specified key.
Syntax
'Declaration
 
Overloads Function TryGetValue( _
   ByVal key As T, _
   ByRef value As S _
) As System.Boolean
'Usage
 
Dim instance As IMapperCaching(Of S,T)
Dim key As T
Dim value As S
Dim value As System.Boolean
 
value = instance.TryGetValue(key, value)
System.bool TryGetValue( 
   T key,
   out S value
)
function TryGetValue( 
    key: T;
   Out  value: S
): System.Boolean; 
function TryGetValue( 
   key : T,
   value : S
) : System.boolean;
System.bool TryGetValue( 
   T* key,
   [PARAMFLAG::Out] S* value
) 
System.bool TryGetValue( 
   T^ key,
   [Out] S^ value
) 

Parameters

key
The key.
value
The mapped value.

Return Value

true if the set contains the specified mapping; otherwise, false.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IMapperCaching<S,T> Interface
IMapperCaching<S,T> Members
Overload List

Send Feedback