IVsDataMappedObjectConverter.ConvertToUnderlyingRestriction, méthode

Une fois implémentée par une classe, convertit les restrictions mappées spécifiées dans les restrictions sous-jacentes spécifiques à la source de données.

Espace de noms :  Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly :  Microsoft.VisualStudio.Data.Services (dans Microsoft.VisualStudio.Data.Services.dll)

Syntaxe

'Déclaration
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

Paramètres

  • mappedTypeName
    Type : String

    Le 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.

Valeur de retour

Type : Object
La restriction sous-jacente qui est convertie de la 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 type spécifique à la source de données sélecteur. Ce processus est connu sous le nom de la sélection mappée.

Sécurité .NET Framework

Voir aussi

Référence

IVsDataMappedObjectConverter Interface

Microsoft.VisualStudio.Data.Services.SupportEntities, espace de noms