CombinatorialDataAttribute.GetDisplayName(MethodInfo, Object[]) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient le nom d’affichage correspondant à la ligne de données de test pour l’affichage dans TestResults.
public string? GetDisplayName(System.Reflection.MethodInfo methodInfo, object?[]? data);
abstract member GetDisplayName : System.Reflection.MethodInfo * obj[] -> string
override this.GetDisplayName : System.Reflection.MethodInfo * obj[] -> string
Public Function GetDisplayName (methodInfo As MethodInfo, data As Object()) As String
Paramètres
- methodInfo
- MethodInfo
Informations sur la méthode de test.
- data
- Object[]
Données de test passées à la méthode de test.
Retours
Le String.