共用方式為


SVsWindowFrame Interface

Passed to GetService to return a reference to IVsWindowFrame.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'宣告
<ComVisibleAttribute(False)> _
<GuidAttribute("11138F8A-38C0-4436-B5A6-2F5EF2C3E242")> _
<GuidAttribute("11138F8A-38C0-4436-B5A6-2F5EF2C3E242")> _
Public Interface SVsWindowFrame
'用途
Dim instance As SVsWindowFrame
[ComVisibleAttribute(false)]
[GuidAttribute("11138F8A-38C0-4436-B5A6-2F5EF2C3E242")]
[GuidAttribute("11138F8A-38C0-4436-B5A6-2F5EF2C3E242")]
public interface SVsWindowFrame
[ComVisibleAttribute(false)]
[GuidAttribute(L"11138F8A-38C0-4436-B5A6-2F5EF2C3E242")]
[GuidAttribute(L"11138F8A-38C0-4436-B5A6-2F5EF2C3E242")]
public interface class SVsWindowFrame
[<ComVisibleAttribute(false)>]
[<GuidAttribute("11138F8A-38C0-4436-B5A6-2F5EF2C3E242")>]
[<GuidAttribute("11138F8A-38C0-4436-B5A6-2F5EF2C3E242")>]
type SVsWindowFrame =  interface end
public interface SVsWindowFrame

Remarks

Any object that is sited in a frame in the environment (either in a tool window or a document window) can call QueryService for the SVsWindowFrame service to retrieve the frame window object in which it is contained. Note that the SVsWindowFrame is only available to an object placed inside of a window frame. This can be an IVsWindowPane interface or an ActiveX control or an ActiveX document object.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace