共用方式為


IViewObjectEx Interface

Adds better drawing, hit-testing for non-rectangular objects, and sizing to the capabilities of IViewObject2. For more information, see IViewObjectEx.

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

Syntax

'宣告
<GuidAttribute("3AF24292-0C96-11CE-A0CF-00AA00600AB8")> _
<InterfaceTypeAttribute()> _
Public Interface IViewObjectEx _
    Inherits IViewObject2
'用途
Dim instance As IViewObjectEx
[GuidAttribute("3AF24292-0C96-11CE-A0CF-00AA00600AB8")]
[InterfaceTypeAttribute()]
public interface IViewObjectEx : IViewObject2
[GuidAttribute(L"3AF24292-0C96-11CE-A0CF-00AA00600AB8")]
[InterfaceTypeAttribute()]
public interface class IViewObjectEx : IViewObject2
[<GuidAttribute("3AF24292-0C96-11CE-A0CF-00AA00600AB8")>]
[<InterfaceTypeAttribute()>]
type IViewObjectEx =  
    interface
        interface IViewObject2
    end
public interface IViewObjectEx extends IViewObject2

See Also

Reference

IViewObjectEx Members

Microsoft.VisualStudio.OLE.Interop Namespace