Condividi tramite


Metodo IVsDataMappedObjectConverter.ConvertToUnderlyingRestriction

Se implementata da una classe, converte le restrizioni mappate specificare le restrizioni sottostanti che sono dati di origine specifici.

Spazio dei nomi:  Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Sintassi

'Dichiarazione
Function ConvertToUnderlyingRestriction ( _
    mappedTypeName As String, _
    substitutionValueIndex As Integer, _
    mappedRestrictions As Object() _
) As Object
Object ConvertToUnderlyingRestriction(
    string mappedTypeName,
    int substitutionValueIndex,
    Object[] mappedRestrictions
)
Object^ ConvertToUnderlyingRestriction(
    String^ mappedTypeName, 
    int substitutionValueIndex, 
    array<Object^>^ mappedRestrictions
)
abstract ConvertToUnderlyingRestriction : 
        mappedTypeName:string * 
        substitutionValueIndex:int * 
        mappedRestrictions:Object[] -> Object
function ConvertToUnderlyingRestriction(
    mappedTypeName : String, 
    substitutionValueIndex : int, 
    mappedRestrictions : Object[]
) : Object

Parametri

  • mappedTypeName
    Tipo: String

    Il nome del tipo mappato.

  • substitutionValueIndex
    Tipo: Int32

    Indice nella matrice di valori di sostituzione.

  • mappedRestrictions
    Tipo: array<Object[]

    Una matrice contenente le restrizioni mappate.

Valore restituito

Tipo: Object
La restrizione sottostante che viene convertito dalla restrizione mappata.

Note

Questo metodo è utile quando è necessario mappate del selettore dell'oggetto (IVsDataMappedObjectSelector) di convertire le restrizioni mappate alle limitazioni sottostanti per passare al selettore di origine specifico del tipo di dati. Questo processo è denominato la selezione mappata.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

IVsDataMappedObjectConverter Interfaccia

Spazio dei nomi Microsoft.VisualStudio.Data.Services.SupportEntities