TryGetTargets Method
See Also 
SourceCode.Collections.Generic Namespace > Map<TSource,TTarget> Class : TryGetTargets Method



source
targets

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Function TryGetTargets( _
   ByVal source As TSource, _
   ByRef targets As ICollection(Of TTarget) _
) As Boolean
Visual Basic (Usage) Copy Code
Dim instance As Map(Of TSource,TTarget)
Dim source As TSource
Dim targets As ICollection(Of TTarget)
Dim value As Boolean
 
value = instance.TryGetTargets(source, targets)
C#  
public bool TryGetTargets( 
   TSource source,
   out ICollection<TTarget> targets
)
C++/CLI  
public:
bool TryGetTargets( 
   TSource^ source,
   [Out] ICollection<TTarget^>^ targets
) 

Parameters

source
targets

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