VsCodeWindow 介面
允許的程式碼] 視窗的管理。
命名空間: Microsoft.VisualStudio.TextManager.Interop
組件: Microsoft.VisualStudio.TextManager.Interop (在 Microsoft.VisualStudio.TextManager.Interop.dll 中)
語法
'宣告
<GuidAttribute("8560CECD-DFAC-4F7B-9D2A-E6D9810F3443")> _
Public Interface VsCodeWindow _
Inherits IVsCodeWindow
[GuidAttribute("8560CECD-DFAC-4F7B-9D2A-E6D9810F3443")]
public interface VsCodeWindow : IVsCodeWindow
[GuidAttribute(L"8560CECD-DFAC-4F7B-9D2A-E6D9810F3443")]
public interface class VsCodeWindow : IVsCodeWindow
[<GuidAttribute("8560CECD-DFAC-4F7B-9D2A-E6D9810F3443")>]
type VsCodeWindow =
interface
interface IVsCodeWindow
end
public interface VsCodeWindow extends IVsCodeWindow
VsCodeWindow 類型會公開下列成員。
方法
名稱 | 描述 | |
---|---|---|
![]() |
Close | 關閉程式碼] 視窗。 (繼承自 IVsCodeWindow)。 |
![]() |
GetBuffer | 傳回程式碼] 視窗中的所有檢視所使用的緩衝區。 (繼承自 IVsCodeWindow)。 |
![]() |
GetEditorCaption | 傳回編輯器可以附加自訂文字編輯器標題。 (繼承自 IVsCodeWindow)。 |
![]() |
GetLastActiveView | 傳回最後一個作用中視窗的檢視程式碼。 (繼承自 IVsCodeWindow)。 |
![]() |
GetPrimaryView | 傳回分割的程式碼] 視窗的頂端 (或主要) 檢視。 (繼承自 IVsCodeWindow)。 |
![]() |
GetSecondaryView | 分隔程式碼視窗的底部 (或次要) 傳回檢視。 (繼承自 IVsCodeWindow)。 |
![]() |
GetViewClassID | 傳回文字的檢視類別,來變更或查詢。 (繼承自 IVsCodeWindow)。 |
![]() |
SetBaseEditorCaption | 將自訂的文字附加至編輯器標題 (繼承自 IVsCodeWindow)。 |
![]() |
SetBuffer | 在 [程式碼] 視窗中設定文字緩衝區的所有檢視。 (繼承自 IVsCodeWindow)。 |
![]() |
SetViewClassID | 設定文字的檢視類別,來變更或查詢。 (繼承自 IVsCodeWindow)。 |
回頁首