IVsDataMappedObjectConverter.ConvertToMappedMember Method
When implemented by a class, converts the specified member of an underlying data object to its corresponding mapped member.
Namespace: Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
‘선언
Function ConvertToMappedMember ( _
typeName As String, _
mappedMemberName As String, _
underlyingValues As Object() _
) As Object
Object ConvertToMappedMember(
string typeName,
string mappedMemberName,
Object[] underlyingValues
)
Object^ ConvertToMappedMember(
String^ typeName,
String^ mappedMemberName,
array<Object^>^ underlyingValues
)
abstract ConvertToMappedMember :
typeName:string *
mappedMemberName:string *
underlyingValues:Object[] -> Object
function ConvertToMappedMember(
typeName : String,
mappedMemberName : String,
underlyingValues : Object[]
) : Object
Parameters
- typeName
Type: System.String
The name of the underlying type.
- mappedMemberName
Type: System.String
The name of the mapped member to convert to that belongs to the mapped type.
- underlyingValues
Type: array<System.Object[]
An array containing the values stored for the data source–specific members that are to be converted to a mapped member value.
Return Value
Type: System.Object
The value of the mapped member converted from the underlying values.
Remarks
Following is an example of possible values for this method's parameters:
typeName could take the value of "Procedure Column".
mappedMemberName could take the value of "AdoDotNetDataType".
underlyingValues could take the value of "nvarchar".
The return value is the field NVarChar.
.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
IVsDataMappedObjectConverter Interface
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace