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
'Declaration
Public MustOverride Function MapValuesToConcept ( _
typeName As String, _
conceptName As String, _
values As Object() _
) As Object
public abstract Object MapValuesToConcept(
string typeName,
string conceptName,
Object[] values
)
public:
virtual Object^ MapValuesToConcept(
String^ typeName,
String^ conceptName,
array<Object^>^ values
) abstract
abstract MapValuesToConcept :
typeName:string *
conceptName:string *
values:Object[] -> Object
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.
- conceptName
Type: System.String
The name of the generic concept.
- values
Type: array<System.Object[]
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. |
.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.