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
'Declaration
Protected Shared Function GetMappings ( _
mappingParameters As Object() _
) As IDictionary(Of String, Object)
protected static IDictionary<string, Object> GetMappings(
Object[] mappingParameters
)
protected:
static IDictionary<String^, Object^>^ GetMappings(
array<Object^>^ mappingParameters
)
static member GetMappings :
mappingParameters:Object[] -> IDictionary<string, Object>
protected static function GetMappings(
mappingParameters : Object[]
) : IDictionary<String, Object>
Parameters
mappingParameters
Type: array<System.Object[]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 nulla 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.