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



source
target

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Function Add( _
   ByVal source As TSource, _
   ByVal target As TTarget _
) As Boolean
Visual Basic (Usage) Copy Code
Dim instance As Map(Of TSource,TTarget)
Dim source As TSource
Dim target As TTarget
Dim value As Boolean
 
value = instance.Add(source, target)
C#  
public bool Add( 
   TSource source,
   TTarget target
)
C++/CLI  
public:
bool Add( 
   TSource^ source,
   TTarget^ target
) 

Parameters

source
target

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