1
我有一個函數GetMainWindowAE,它包含如下所示的頭信息。以編程方式檢索函數頭信息
/// <summary>
/// Gets the main window automation element.
/// </summary>
/// <returns></returns>
public static AutomationElement GetMainWindowAE()
{
//Return automation element using window handle of that process
return AutomationElement.FromHandle(AppContext.ActiveApplication.Process.MainWindowHandle);
}
我該如何以編程方式獲取標題中使用.net標註的數據?