DataObjectSelector.GetMappings Method

Returns key/value pairs of mapped property names and their corresponding data source–specific property names.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'宣言
Protected Shared Function GetMappings ( _
    mappingParameters As Object() _
) As IDictionary(Of String, Object)
'使用
Dim mappingParameters As Object()
Dim returnValue As IDictionary(Of String, Object)

returnValue = DataObjectSelector.GetMappings(mappingParameters)
protected static IDictionary<string, Object> GetMappings(
    Object[] mappingParameters
)
protected:
static IDictionary<String^, Object^>^ GetMappings(
    array<Object^>^ mappingParameters
)
protected static function GetMappings(
    mappingParameters : Object[]
) : IDictionary<String, Object>

Parameters

  • mappingParameters
    Type: []

    An array of key/value pairs containing the mappings between the mapped property names and their corresponding parameters.

Return Value

Type: System.Collections.Generic.IDictionary<String, Object>

A collection of key/value pairs of mapped property names and their corresponding data source–specific property names.

Exceptions

Exception Condition
ArgumentNullException

The mappingParameters parameter is a null reference (Nothing in Visual Basic).

Remarks

The first element of the value array of the mappingParameters parameter represents the data source–specific property name for each property.

Permissions

See Also

Reference

DataObjectSelector Class

DataObjectSelector Members

Microsoft.VisualStudio.Data.Framework Namespace