共用方式為


__VSFPROPID2 Enumeration

Provides additional members for the __VSFPROPID enumeration.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'宣告
Public Enumeration __VSFPROPID2
'用途
Dim instance As __VSFPROPID2
public enum __VSFPROPID2
public enum class __VSFPROPID2
type __VSFPROPID2
public enum __VSFPROPID2

Members

Member name Description
VSFPROPID_OverrideDirtyState BOOL/EMPTY. Tri-state value of dirty star (*) in window caption
VSFPROPID_OLEDocObjectDocument BOOL. Specifies whether pane is holding OLE doc object
VSFPROPID_ParentHwnd HWND parent of OwnerDocked window.
VSFPROPID_ParentFrame IVsWindowFrame of parent container for OwnerDocked window.
VSFPROPID_ToolWindowDocCookie VT_INT_PTR value for IVsRunningDocumentTable (RDT) key for document associated with a tool window (eg. Code Definition Window). Setting this property enables both caption dirty indicator (*) management and the firing of OnBeforeDocumentWindowShow RDT events for the tool window. It is assumed that the frame caption is set correctly, without a dirty indicator (*), before this property is set, as setting this property will cause a caption dirty indicator (*) to be added, if the document is dirty. Also, when this property is set, the OnBeforeDocumentWindowShow RDT event is immediately fired to indicate that a new document has been show.

Remarks

Specifies property identifiers for window frames, document frames, and tool window frames.

COM Signature

From vsshell80.idl:

enum __VSFPROPID2
{
    VSFPROPID_OverrideDirtyState  = -4014,
    VSFPROPID_OLEDocObjectDocument  = -4015,
    VSFPROPID_ParentHwnd  = -4016,
    VSFPROPID_ParentFrame = -4017,
    VSFPROPID_ToolWindowDocCookie  = -4018,
 };
typedef LONG VSFPROPID2;

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace