DataMappedObjectConverter.ConvertToUnderlyingRestriction, méthode (String, Int32, array<Object[])
Convertit les restrictions mappées spécifiées dans les restrictions sous-jacentes spécifiques de source de données.
Espace de noms : Microsoft.VisualStudio.Data.Framework
Assembly : Microsoft.VisualStudio.Data.Framework (dans Microsoft.VisualStudio.Data.Framework.dll)
Syntaxe
'Déclaration
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
Paramètres
mappedTypeName
Type : StringNom du type mappé.
substitutionValueIndex
Type : Int32Index dans le tableau de valeurs de substitution.
mappedRestrictions
Type : array<Object[]Tableau contenant les restrictions mappées.
Valeur de retour
Type : Object
La restriction sous-jacente qui est convertie de restriction mappée.
Implémentations
IVsDataMappedObjectConverter.ConvertToUnderlyingRestriction(String, Int32, array<Object[])
Notes
Cette méthode est utile lorsque le sélecteur mappé d'objet (les besoins d'IVsDataMappedObjectSelector pour convertir les restrictions mappées aux restrictions sous-jacentes à passer au sélecteur spécifique à la source de données de type (IVsDataMappedObjectSelector). Ce processus est connu sous le nom de la sélection mappée.
Cette méthode délègue l'appel à la méthode ConvertToUnderlyingRestriction et passer nullune référence null (Nothing en Visual Basic) pour le dernier paramètre.
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, voir Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.
Voir aussi
Référence
DataMappedObjectConverter Classe