NetIde.Services.Shell.NiShell.GetWindowFrameForWindowPane C# (CSharp) Method

GetWindowFrameForWindowPane() public method

public GetWindowFrameForWindowPane ( INiWindowPane windowPane, INiWindowFrame &windowFrame ) : HResult
windowPane INiWindowPane
windowFrame INiWindowFrame
return HResult
        public HResult GetWindowFrameForWindowPane(INiWindowPane windowPane, out INiWindowFrame windowFrame)
        {
            windowFrame = null;

            try
            {
                DockContent dockContent;
                if (_dockContents.TryGetValue(windowPane, out dockContent))
                    windowFrame = dockContent.GetProxy();

                return HResult.OK;
            }
            catch (Exception ex)
            {
                return ErrorUtil.GetHResult(ex);
            }
        }