Condividi tramite


Metodo DataMappedObjectConverter.ConvertToUnderlyingRestriction (String, Int32, array<Object[])

Converte le restrizioni mappate specificate in restrizioni sottostanti in un'origine dati specifica.

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

Sintassi

'Dichiarazione
Public Function ConvertToUnderlyingRestriction ( _
    mappedTypeName As String, _
    substitutionValueIndex As Integer, _
    mappedRestrictions As Object() _
) As Object
public Object ConvertToUnderlyingRestriction(
    string mappedTypeName,
    int substitutionValueIndex,
    Object[] mappedRestrictions
)
public:
virtual Object^ ConvertToUnderlyingRestriction(
    String^ mappedTypeName, 
    int substitutionValueIndex, 
    array<Object^>^ mappedRestrictions
) sealed
abstract ConvertToUnderlyingRestriction : 
        mappedTypeName:string * 
        substitutionValueIndex:int * 
        mappedRestrictions:Object[] -> Object  
override ConvertToUnderlyingRestriction : 
        mappedTypeName:string * 
        substitutionValueIndex:int * 
        mappedRestrictions:Object[] -> Object
public final 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.

Implementa

IVsDataMappedObjectConverter.ConvertToUnderlyingRestriction(String, Int32, array<Object[])

Note

Questo metodo è utile quando il selettore mappato oggetto (necessitàIVsDataMappedObjectSelector di convertire le restrizioni mappate in restrizioni sottostanti per passare al selettore origine specifico del tipo di dati (IVsDataMappedObjectSelector). Questo processo è denominato la selezione mappata.

Questo metodo delega la chiamata al metodo ConvertToUnderlyingRestriction e passare nullriferimento null (Nothing in Visual Basic) per l'ultimo parametro.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

DataMappedObjectConverter Classe

Overload ConvertToUnderlyingRestriction

Spazio dei nomi Microsoft.VisualStudio.Data.Framework