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.StringThe name of the data object type requesting this mapping.
conceptName
Type: System.StringThe name of the generic concept (see Concepts Reference Overview).
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
- 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.
See Also
Reference
AdoDotNetObjectConceptMapper Class
AdoDotNetObjectConceptMapper Members