AdoDotNetObjectConceptMapper.MapValuesToConcept Method

Maps one or more data-source-specific values to a specified generic concept.

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

Syntax

'宣言
Public Overrides Function MapValuesToConcept ( _
    typeName As String, _
    conceptName As String, _
    values As Object() _
) As Object
'使用
Dim instance As AdoDotNetObjectConceptMapper
Dim typeName As String
Dim conceptName As String
Dim values As Object()
Dim returnValue As Object

returnValue = instance.MapValuesToConcept(typeName, _
    conceptName, values)
public override Object MapValuesToConcept(
    string typeName,
    string conceptName,
    Object[] values
)
public:
virtual Object^ MapValuesToConcept(
    String^ typeName, 
    String^ conceptName, 
    array<Object^>^ values
) override
public override function MapValuesToConcept(
    typeName : String, 
    conceptName : String, 
    values : Object[]
) : Object

Parameters

  • typeName
    Type: System.String

    The name of the data object type requesting this mapping.

  • values
    Type: []

    One or more data source specific values to map into the concept specified by conceptName.

Return Value

Type: System.Object

Returns an object representing the value of the generic concept.

Exceptions

Exception Condition
ArgumentNullException

The conceptName and/or values parameter is null

ArgumentException

The typeName and/or conceptName parameter is invalid, or the values array does not contain the expected type of data.

NotSupportedException

This method does not support mapping of the specified concept for the specified types.

Remarks

Provides an ADO.NET specific implementation of the DataObjectConceptMapper method.

Permissions

See Also

Reference

AdoDotNetObjectConceptMapper Class

AdoDotNetObjectConceptMapper Members

Microsoft.VisualStudio.Data.AdoDotNet Namespace

DataObjectConceptMapper