Metoda IVsRunningDocTableEvents4.OnAfterLastDocumentUnlock — (IVsHierarchy, UInt32, String, Int32)
Uruchamiany po odblokowaniu ostatniego dokumentu w tabeli systemem dokumentu (Normalizacją).
Przestrzeń nazw: Microsoft.VisualStudio.Shell.Interop
Zestaw: Microsoft.VisualStudio.Shell.Interop.8.0 (w Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Składnia
int OnAfterLastDocumentUnlock(
IVsHierarchy pHier,
uint itemid,
string pszMkDocument,
int fClosedWithoutSaving
)
int OnAfterLastDocumentUnlock(
IVsHierarchy^ pHier,
unsigned int itemid,
String^ pszMkDocument,
int fClosedWithoutSaving
)
abstract OnAfterLastDocumentUnlock :
pHier:IVsHierarchy *
itemid:uint32 *
pszMkDocument:string *
fClosedWithoutSaving:int -> int
Function OnAfterLastDocumentUnlock (
pHier As IVsHierarchy,
itemid As UInteger,
pszMkDocument As String,
fClosedWithoutSaving As Integer
) As Integer
Parametry
pHier
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy[in] IVsHierarchy Obiekt, który jest właścicielem dokumentu zostanie zablokowane.
itemid
Type: System.UInt32[in] Identyfikator elementu w hierarchii. Jest to unikatowy identyfikator lub może być jedną z następujących wartości: VSITEMID_NIL, VSITEMID_ROOT, lub VSITEMID_SELECTION.
pszMkDocument
Type: System.String[in] Ścieżka do dokumentu zostanie zablokowane.
fClosedWithoutSaving
Type: System.Int32[in] true Jeśli dokument został zamknięty bez zapisywania; w przeciwnym razie false.
Wartość zwracana
Type: System.Int32
Jeśli metoda zakończy się pomyślnie, zwraca S_OK. Jeśli nie, zwraca kod błędu.
Uwagi
Podpis COM
Z vsshell80.idl:
[C++]
HRESULT OnAfterLastDocumentUnlock(
[in] IVsHierarchy* pHier,
[in] VSITEMID itemid,
[in] LPCOLESTR pszMkDocument,
[in] BOOL fClosedWithoutSaving
);
Zobacz też
Interfejs IVsRunningDocTableEvents4
Przestrzeń nazw Microsoft.VisualStudio.Shell.Interop
Powrót do początku