DynamicDataAttribute.ITestDataSourceEmptyDataSourceExceptionInfo.GetPropertyOrMethodNameForEmptyDataSourceException Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Restituisce il nome del metodo/proprietà a cui si accede dall'origine dati. Ad esempio, per DynamicDataAttribute, che sarà l'argomento attributo .
string? ITestDataSourceEmptyDataSourceExceptionInfo.GetPropertyOrMethodNameForEmptyDataSourceException();
abstract member Microsoft.VisualStudio.TestTools.UnitTesting.ITestDataSourceEmptyDataSourceExceptionInfo.GetPropertyOrMethodNameForEmptyDataSourceException : unit -> string
override this.Microsoft.VisualStudio.TestTools.UnitTesting.ITestDataSourceEmptyDataSourceExceptionInfo.GetPropertyOrMethodNameForEmptyDataSourceException : unit -> string
Function GetPropertyOrMethodNameForEmptyDataSourceException () As String Implements ITestDataSourceEmptyDataSourceExceptionInfo.GetPropertyOrMethodNameForEmptyDataSourceException
Valori restituiti
Nome del membro che ha prodotto i dati (vuoti) o null se sconosciuto.