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 : System.String
Le nom du type mappé.
- substitutionValueIndex
Type : System.Int32
Index dans le tableau de valeurs de substitution.
- mappedRestrictions
Type : array<System.Object[]
Tableau contenant les restrictions mappées.
Valeur de retour
Type : System.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
- 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, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.
Voir aussi
Référence
IVsDataMappedObjectConverter Interface
Microsoft.VisualStudio.Data.Services.SupportEntities, espace de noms