Version

TryAdd(DataMappingPair) Method

Attempts to safely add a new datamapping pair to the current datamapping object.
Syntax
'Declaration
 
Public Overloads Function TryAdd( _
   ByVal pair As DataMappingPair _
) As Boolean
public bool TryAdd( 
   DataMappingPair pair
)

Parameters

pair

Return Value

True if the mapping pair was successfully added.
Remarks
A Datamapping should not attempt to map multiple external names to a single internal name.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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