共用方式為


__VSFPROPID Enumeration

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

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

Syntax

'Declaration
Public Enumeration __VSFPROPID
public enum __VSFPROPID
public enum class __VSFPROPID
type __VSFPROPID
public enum __VSFPROPID

Members

Member name Description
VSFPROPID_AltDocData UNK. If this window edits a piece of a larger document, then VSFPROPID_AltDocData is the DocData object for the piece of the document that is being edited in the window, whereas the VSFPROPID_RDTDocData is the DocData object for all of the document registered in the RDT. VSFPROPID_AltDocData objects are not registered in the RDT. Document Windows that have VSFPROPID_AltDocData objects are created by using CDW_fAltDocData flag.
VSFPROPID_BitmapIndex I4. Index into strip if bitmap handle is a strip.
VSFPROPID_BitmapResource I4. Resource number of bitmaps in satellite dll.
VSFPROPID_Caption BSTR. Full window caption.
VSFPROPID_CmdUIGuid GUID used to control visibility of toolbars and AutoVisible tool windows.
VSFPROPID_CreateDocWinFlags I4. __VSCREATEDOCWIN flags passed to CreateDocumentWindow.
VSFPROPID_CreateToolWinFlags __VSCREATETOOLWIN flags passed to CreateToolWindow.
VSFPROPID_DocCookie I4. IVsRunningDocumentTable (RDT) key.
VSFPROPID_DocData UNK. Returns VSFPROPID_AltDocData if available. Otherwise, returns RDTDocData.
VSFPROPID_DocView UNK. Object that fills the client area of the window.
VSFPROPID_EditorCaption BSTR. Portion of caption that is defined by editor implementation.
VSFPROPID_ExtWindowObject UNK. Environment's "Window" automation IDispatch object.
VSFPROPID_FIRST Indicates the first property ID.
VSFPROPID_FrameMode I4. Docked, float, and so on.
VSFPROPID_GuidAutoActivate OBSOLETE. Do not use.
VSFPROPID_guidEditorType GUID. Uniquely identifies which IVsEditorFactory created the document.
VSFPROPID_GuidPersistenceSlot GUID. Uniquely identifies a tool window type.
VSFPROPID_HideToolwinContainer I2. Makes the tool window's container hidden when and saves the data file.
VSFPROPID_Hierarchy UNK. Owns IVsHierarchy.
VSFPROPID_InheritKeyBindings GUID. Most often used by a window to inherit the key bindings of the TextEditor.
VSFPROPID_IsWindowTabbed I2. Tabbed state.
VSFPROPID_ItemID I4. VSITEMID of document.
VSFPROPID_LAST Indicates the last __VSFPROPID.
VSFPROPID_MultiInstanceToolNum I4. ID of a multi-instance tool window.
VSFPROPID_NIL NIL. -1.
VSFPROPID_OwnerCaption BSTR. Portion of caption defined by owning IVsHierarchy.
VSFPROPID_pszMkDocument BSTR. pszMkDocument passed to CreateDocumentWindow.
VSFPROPID_pszPhysicalView BSTR. Identifies the type of window created by the IVsEditorFactory (for example "Form").
VSFPROPID_RDTDocData UNK. DocData registered in the RDT for the document in this frame.
VSFPROPID_ShortCaption BSTR. Partial window caption.
VSFPROPID_SPFrame UNK. IServiceProvider which is site object for VSFPROPID_DocView object.
VSFPROPID_SPProjContext UNK. IServiceProvider provided by the owning IVsHierarchy.
VSFPROPID_ToolbarHost UNK. IVsToolbarHost used to add toolbars to window. Property is only valid if CTW_fToolbarHost or UIHWF_SupportToolWindowToolbars is specified.
VSFPROPID_Type I4. Frame type - document or tool. For all frame windows, 1== Document Frame, 2 == Tool Frame.
VSFPROPID_UserContext UNK. IVsUserContext.
VSFPROPID_ViewHelper UNK. Additional interfaces for control (for all frame windows).
VSFPROPID_WindowHelpCmdText BSTR. Command text for cmdidWindowHelp.
VSFPROPID_WindowHelpKeyword BSTR. Keyword for cmdidWindowHelp.
VSFPROPID_WindowState I4. Normal, Minimized, or Maximized

Remarks

COM Signature

From vsshell.idl.

The descriptions associated with each enumeration element are the data types that are associated with the properties of an object.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace