Udostępnij przez


RunningDocumentInfo Struktura

Definicja

Reprezentuje informacje o dokumencie w obiekcie RunningDocumentTable. Zawiera wszystkie informacje zwrócone przez GetDocumentInfo(UInt32, UInt32, UInt32, UInt32, String, IVsHierarchy, UInt32, IntPtr)element .

public value class RunningDocumentInfo
struct RunningDocumentInfo
public struct RunningDocumentInfo
type RunningDocumentInfo = struct
Public Structure RunningDocumentInfo
Dziedziczenie
RunningDocumentInfo

Konstruktory

RunningDocumentInfo(IVsRunningDocumentTable, String)

Inicjuje nowe wystąpienie elementu RunningDocumentTable.

RunningDocumentInfo(IVsRunningDocumentTable, UInt32)

Inicjuje nowe wystąpienie elementu RunningDocumentTable.

Właściwości

DidDocumentInitializationFail

Reprezentuje informacje o dokumencie w obiekcie RunningDocumentTable. Zawiera wszystkie informacje zwrócone przez GetDocumentInfo(UInt32, UInt32, UInt32, UInt32, String, IVsHierarchy, UInt32, IntPtr)element .

DocCookie

Plik cookie dokumentu

DocData

Obiekt dokumentu w tabeli Running Document Table (RDT).

EditLocks

Liczba blokad edycji przechowywanych w dokumencie.

Flags

Zestaw _VSRDTFLAGS w dokumencie.

Hierarchy

Interfejs IVsHierarchy węzła hierarchii, który jest właścicielem dokumentu.

IsDirty

Reprezentuje informacje o dokumencie w obiekcie RunningDocumentTable. Zawiera wszystkie informacje zwrócone przez GetDocumentInfo(UInt32, UInt32, UInt32, UInt32, String, IVsHierarchy, UInt32, IntPtr)element .

IsDocumentInitialized

Określa, czy dokument został zainicjowany.

IsHierarchyInitialized

Określa, czy hierarchia została zainicjowana.

IsReadOnly

Reprezentuje informacje o dokumencie w obiekcie RunningDocumentTable. Zawiera wszystkie informacje zwrócone przez GetDocumentInfo(UInt32, UInt32, UInt32, UInt32, String, IVsHierarchy, UInt32, IntPtr)element .

IsValid

Wskazuje, czy dokument reprezentowany przez DocCookie program jest zarejestrowany w usłudze RDT. Jeśli jest falseto wartość , wszystkie inne właściwości tej struktury są również nieprawidłowe.

ItemId

Identyfikator elementu węzła, który zawiera dokument.

Moniker

Ścieżka bezwzględna dokumentu.

ProjectGuid

Identyfikator GUID projektu.

ReadLocks

Liczba blokad odczytu przechowywanych w dokumencie.

Metody

CreateInstanceAsync(IVsRunningDocumentTable, String, CancellationToken)

Reprezentuje informacje o dokumencie w obiekcie RunningDocumentTable. Zawiera wszystkie informacje zwrócone przez GetDocumentInfo(UInt32, UInt32, UInt32, UInt32, String, IVsHierarchy, UInt32, IntPtr)element .

CreateInstanceAsync(IVsRunningDocumentTable, UInt32, CancellationToken)

Reprezentuje informacje o dokumencie w obiekcie RunningDocumentTable. Zawiera wszystkie informacje zwrócone przez GetDocumentInfo(UInt32, UInt32, UInt32, UInt32, String, IVsHierarchy, UInt32, IntPtr)element .

Sync()

RunningDocumentInfo to migawka informacji z RDT. Aby zaktualizować te informacje, należy wywołać funkcję Synchronizacja.

Dotyczy