語言

ITestDataSourceEmptyDataSourceExceptionInfo.GetPropertyOrMethodNameForEmptyDataSourceException 方法

定義

回傳此資料來源存取的方法/屬性名稱。 例如,對於 DynamicDataAttribute,那將是屬性參數。

public string? GetPropertyOrMethodNameForEmptyDataSourceException();
abstract member GetPropertyOrMethodNameForEmptyDataSourceException : unit -> string
Public Function GetPropertyOrMethodNameForEmptyDataSourceException () As String

傳回

產生(空)資料的成員名稱,或 null 若未知。

適用於