次の方法で共有


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
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from ValueType.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Fields

  Name Description
Public field DocCookie The document cookie.
Public field DocData The document object in the Running Document Table (RDT).
Public field EditLocks The number of edit locks held on the document.
Public field Flags The _VSRDTFLAGS set on the document.
Public field Hierarchy The IVsHierarchy interface of the hierarchy node that owns the document.
Public field ItemId The item ID of the node that holds the document.
Public field Moniker The absolute path of the document.
Public field 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.

See Also

Reference

Microsoft.VisualStudio.Shell Namespace