RunningDocumentInfo Structure
Represents information about a document in the RunningDocumentTable. It includes all the information returned by GetDocumentInfo.
This API is not CLS-compliant. The CLS-compliant alternative is [None].
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
Public Structure RunningDocumentInfo
[CLSCompliantAttribute(false)]
public struct RunningDocumentInfo
[CLSCompliantAttribute(false)]
public value class RunningDocumentInfo
[<Sealed>]
[<CLSCompliantAttribute(false)>]
type RunningDocumentInfo = struct end
JScript supports the use of structures, but not the declaration of new ones.
The RunningDocumentInfo type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (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.