Metodo DataMappedObjectConverter.ConvertToUnderlyingRestriction (String, Int32, array<Object[], 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
Protected Overridable Function ConvertToUnderlyingRestriction ( _
mappedTypeName As String, _
substitutionValueIndex As Integer, _
mappedRestrictions As Object(), _
parameters As Object() _
) As Object
protected virtual Object ConvertToUnderlyingRestriction(
string mappedTypeName,
int substitutionValueIndex,
Object[] mappedRestrictions,
Object[] parameters
)
protected:
virtual Object^ ConvertToUnderlyingRestriction(
String^ mappedTypeName,
int substitutionValueIndex,
array<Object^>^ mappedRestrictions,
array<Object^>^ parameters
)
abstract ConvertToUnderlyingRestriction :
mappedTypeName:string *
substitutionValueIndex:int *
mappedRestrictions:Object[] *
parameters:Object[] -> Object
override ConvertToUnderlyingRestriction :
mappedTypeName:string *
substitutionValueIndex:int *
mappedRestrictions:Object[] *
parameters:Object[] -> Object
protected function ConvertToUnderlyingRestriction(
mappedTypeName : String,
substitutionValueIndex : int,
mappedRestrictions : Object[],
parameters : 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.
parameters
Tipo: array<Object[]Una matrice contenente i parametri.
Valore restituito
Tipo: Object
La restrizione sottostante che viene convertito dalla restrizione mappata.
Note
Questo metodo è utile quando occorre mappate del selettore dell'oggetto (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.
Note per gli eredi
La classe derivata deve eseguire l'override di questo metodo. L'implementazione di base di questo metodo genera NotImplementedException.
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
DataMappedObjectConverter Classe