AdoDotNetMappedObjectConverter.ConvertToMappedMember Method (String, String, array<Object[], array<Object )
Maps one or more data source–specific values to a specified generic mapped type: an ADO.NET data type, an ADO.NET DbType, or a .NET Framework Type value.
Namespace: Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
‘선언
Protected Overrides Function ConvertToMappedMember ( _
typeName As String, _
mappedMemberName As String, _
underlyingValues As Object(), _
parameters As Object() _
) As Object
protected override Object ConvertToMappedMember(
string typeName,
string mappedMemberName,
Object[] underlyingValues,
Object[] parameters
)
protected:
virtual Object^ ConvertToMappedMember(
String^ typeName,
String^ mappedMemberName,
array<Object^>^ underlyingValues,
array<Object^>^ parameters
) override
abstract ConvertToMappedMember :
typeName:string *
mappedMemberName:string *
underlyingValues:Object[] *
parameters:Object[] -> Object
override ConvertToMappedMember :
typeName:string *
mappedMemberName:string *
underlyingValues:Object[] *
parameters:Object[] -> Object
protected override function ConvertToMappedMember(
typeName : String,
mappedMemberName : String,
underlyingValues : Object[],
parameters : Object[]
) : Object
Parameters
- typeName
Type: System.String
The name of the data object type requesting this mapping.
- mappedMemberName
Type: System.String
The name of the generic concept.
- underlyingValues
Type: array<System.Object[]
One or more data source–specific values to map into the concept specified by mappedMemberName.
- parameters
Type: array<System.Object[]
Optional command parameters.
Return Value
Type: System.Object
An object representing the value of the generic, mapped type.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The typeName and/or mappedMemberName parameter is nulla null reference (Nothing in Visual Basic). |
ArgumentException | The values array does not contain the expected type of data. |
NotImplementedException | This method does not support mapping of the specified type for the specified mappedMemberName. |
.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.
See Also
Reference
AdoDotNetMappedObjectConverter Class