共用方式為


__VSRDTATTRIB Enumeration

Returns information about a document in the running document table (RDT).

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

Syntax

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

Members

Member name Description
RDTA_Hierarchy Hierarchical position of the document in the RDT.
RDTA_ItemID Item identifier of the document in the RDT.
RDTA_MkDocument Full path to the document in the RDT.
RDTA_DocDataIsDirty Flag indicates that the data of the document in the RDT has changed.
RDTA_DocDataIsNotDirty Flag indicates that the data of the document in the RDT has not changed.
RDTA_NOTIFYDOCCHANGEDMASK A mask for the flags passed to the NotifyDocumentChanged method.
RDTA_DocDataReloaded This attribute event is fired by calling the NotifyDocumentChanged method.
RDTA_AltHierarchyItemID This attribute event is fired by calling the NotifyDocumentChanged method.

Remarks

COM Signature

From vsshell.idl:

enum __VSRDTATTRIB {
    RDTA_Hierarchy            = 0x00000001,
    RDTA_ItemID               = 0x00000002,
    RDTA_MkDocument           = 0x00000004,
    RDTA_DocDataIsDirty       = 0x00000008,
    RDTA_DocDataIsNotDirty    = 0x00000010,
    // The following attribute events are fired by calling NotifyDocumentChanged
    RDTA_NOTIFYDOCCHANGEDMASK = 0xFFFF0000,
    RDTA_DocDataReloaded      = 0x00010000,
    RDTA_AltHierarchyItemID   = 0x00020000,
};
typedef DWORD VSRDTATTRIB;

The values from this enumeration are passed to the following methods:

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace