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
‘사용 방법
Dim instance As IViewObject2
[GuidAttribute("00000127-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute()]
public interface IViewObject2 : IViewObject
[GuidAttribute(L"00000127-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute()]
public interface class IViewObject2 : IViewObject
[<GuidAttribute("00000127-0000-0000-C000-000000000046")>]
[<InterfaceTypeAttribute()>]
type IViewObject2 =  
    interface
        interface IViewObject
    end
public interface IViewObject2 extends IViewObject

See Also

Reference

IViewObject2 Members

Microsoft.VisualStudio.OLE.Interop Namespace