DataMappedObjectConverter.ConvertToUnderlyingRestriction, méthode (String, Int32, array<Object[], 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
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

Paramètres

  • mappedTypeName
    Type : String

    Nom du type mappé.

  • substitutionValueIndex
    Type : Int32

    Index dans le tableau de valeurs de substitution.

  • mappedRestrictions
    Type : array<Object[]

    Tableau contenant les restrictions mappées.

  • parameters
    Type : array<Object[]

    Tableau contenant les paramètres.

Valeur de retour

Type : Object
La restriction sous-jacente qui est convertie de restriction mappée.

Notes

Cette méthode est utile lorsque les besoins mappés de sélecteur d'objet (IVsDataMappedObjectSelector) de 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.

Remarques à l'attention des héritiers

La classe dérivée doit substituer cette méthode. Implémentation de base de cette méthode lève NotImplementedException.

Sécurité .NET Framework

Voir aussi

Référence

DataMappedObjectConverter Classe

ConvertToUnderlyingRestriction, surcharge

Microsoft.VisualStudio.Data.Framework, espace de noms