共用方式為


IViewObject2 Interface

Definition

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.

public interface class IViewObject2 : Microsoft::VisualStudio::OLE::Interop::IViewObject
public interface class IViewObject2 : Microsoft::VisualStudio::OLE::Interop::IViewObject
__interface IViewObject2 : Microsoft::VisualStudio::OLE::Interop::IViewObject
[System.Runtime.InteropServices.Guid("00000127-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IViewObject2 : Microsoft.VisualStudio.OLE.Interop.IViewObject
[System.Runtime.InteropServices.Guid("00000127-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IViewObject2 : Microsoft.VisualStudio.OLE.Interop.IViewObject
[<System.Runtime.InteropServices.Guid("00000127-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IViewObject2 = interface
    interface IViewObject
[<System.Runtime.InteropServices.Guid("00000127-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IViewObject2 = interface
    interface IViewObject
Public Interface IViewObject2
Implements IViewObject
Derived
Attributes
Implements

Methods

Draw(UInt32, Int32, IntPtr, DVTARGETDEVICE[], IntPtr, IntPtr, RECTL[], RECTL[], IntPtr, IntPtr)
Draw(UInt32, Int32, UInt32, DVTARGETDEVICE[], UInt32, UInt32, RECTL[], RECTL[], IContinue)
Freeze(UInt32, Int32, IntPtr, UInt32)
Freeze(UInt32, Int32, UInt32, UInt32)
GetAdvise(UInt32, UInt32, IAdviseSink)
GetColorSet(UInt32, Int32, IntPtr, DVTARGETDEVICE[], IntPtr, IntPtr)
GetColorSet(UInt32, Int32, UInt32, DVTARGETDEVICE[], UInt32, IntPtr)
GetExtent(UInt32, Int32, DVTARGETDEVICE[], SIZEL[])
SetAdvise(UInt32, UInt32, IAdviseSink)
Unfreeze(UInt32)

Applies to