Share via


IViewObject2 Interface

Enables an object to display itself without passing a data object to the caller. Also returns the size of the drawing for a given view of an object. Extends and inherits from IViewObject. For more information, see IViewObject2.

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

Syntax

‘선언
<GuidAttribute("00000127-0000-0000-C000-000000000046")> _
<InterfaceTypeAttribute()> _
Public Interface IViewObject2 _
    Inherits IViewObject
[GuidAttribute("00000127-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute()]
public interface IViewObject2 : IViewObject

The IViewObject2 type exposes the following members.

Methods

  Name Description
Public method Draw(UInt32, Int32, UInt32, array<DVTARGETDEVICE[], UInt32, UInt32, array<RECTL[], array<RECTL[], IContinue) (Inherited from IViewObject.)
Public method Draw(UInt32, Int32, UInt32, array<DVTARGETDEVICE[], UInt32, UInt32, array<RECTL[], array<RECTL[], IContinue)
Public method Freeze(UInt32, Int32, UInt32, UInt32%) (Inherited from IViewObject.)
Public method Freeze(UInt32, Int32, UInt32, UInt32%)
Public method GetAdvise(UInt32%, UInt32%, IAdviseSink%) (Inherited from IViewObject.)
Public method GetAdvise(UInt32%, UInt32%, IAdviseSink%)
Public method GetColorSet(UInt32, Int32, UInt32, array<DVTARGETDEVICE[], UInt32, IntPtr%) (Inherited from IViewObject.)
Public method GetColorSet(UInt32, Int32, UInt32, array<DVTARGETDEVICE[], UInt32, IntPtr%)
Public method GetExtent
Public method SetAdvise(UInt32, UInt32, IAdviseSink) (Inherited from IViewObject.)
Public method SetAdvise(UInt32, UInt32, IAdviseSink)
Public method Unfreeze(UInt32) (Inherited from IViewObject.)
Public method Unfreeze(UInt32)

Top

See Also

Reference

Microsoft.VisualStudio.OLE.Interop Namespace