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: StringIl nome del tipo mappato.
substitutionValueIndex
Tipo: Int32Indice 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
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per altre informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.
Vedere anche
Riferimenti
IVsDataMappedObjectConverter Interfaccia
Spazio dei nomi Microsoft.VisualStudio.Data.Services.SupportEntities