共用方式為


IOleDocumentView Interface

Provides communication between a container and each view supported by a document object. For more information, see IOleDocumentView.

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

Syntax

'宣告
<InterfaceTypeAttribute()> _
<GuidAttribute("B722BCC6-4E68-101B-A2BC-00AA00404770")> _
Public Interface IOleDocumentView
[InterfaceTypeAttribute()]
[GuidAttribute("B722BCC6-4E68-101B-A2BC-00AA00404770")]
public interface IOleDocumentView

The IOleDocumentView type exposes the following members.

Methods

  Name Description
Public method ApplyViewState
Public method Clone
Public method CloseView
Public method GetDocument
Public method GetInPlaceSite
Public method GetRect
Public method Open
Public method SaveViewState
Public method SetInPlaceSite
Public method SetRect
Public method SetRectComplex
Public method Show
Public method UIActivate

Top

See Also

Reference

Microsoft.VisualStudio.OLE.Interop Namespace