DataObjectConceptMapper.MapValuesToConcept Method

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

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

Syntax

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

returnValue = instance.MapValuesToConcept(typeName, _
    conceptName, values)
public abstract Object MapValuesToConcept(
    string typeName,
    string conceptName,
    Object[] values
)
public:
virtual Object^ MapValuesToConcept(
    String^ typeName, 
    String^ conceptName, 
    array<Object^>^ values
) abstract
public abstract 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 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.

Permissions

See Also

Reference

DataObjectConceptMapper Class

DataObjectConceptMapper Members

Microsoft.VisualStudio.Data Namespace