RunningDocumentInfo Structure
Represents information about a document in the RunningDocumentTable. It includes all the information returned by GetDocumentInfo.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣告
Public Structure RunningDocumentInfo
public struct RunningDocumentInfo
The RunningDocumentInfo type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | |
GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Top
Fields
Name | Description | |
---|---|---|
DocCookie | The document cookie. | |
DocData | The document object in the Running Document Table (RDT). | |
EditLocks | The number of edit locks held on the document. | |
Flags | The _VSRDTFLAGS set on the document. | |
Hierarchy | The IVsHierarchy interface of the hierarchy node that owns the document. | |
ItemId | The item ID of the node that holds the document. | |
Moniker | The absolute path of the document. | |
ReadLocks | The number of read locks held on the document. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.