public static GetClassName ( |
||
windowHandle | A handle to the window and, indirectly, the class to which the window belongs. | |
리턴 | string |
/// <summary> /// Gets all the windows that have the specified class name. /// </summary> /// <param name="className">The class name string.</param> /// <returns>A collection of <see cref="RemoteWindow"/>.</returns> public IEnumerable <RemoteWindow> GetWindowsByClassName(string className) { return(WindowHandles .Where(handle => WindowCore.GetClassName(handle) == className) .Select(handle => new RemoteWindow(_memorySharp, handle))); }