Aracılığıyla paylaş


IVsRunningDocTableEvents3.OnBeforeDocumentWindowShow Yöntem (UInt32, Int32, IVsWindowFrame)

 

Belge penceresini görüntülemeden önce denir.

Ad Alanı:   Microsoft.VisualStudio.Shell.Interop
Derleme:  Microsoft.VisualStudio.Shell.Interop (Microsoft.VisualStudio.Shell.Interop.dll içinde)

Sözdizimi

int OnBeforeDocumentWindowShow(
    uint docCookie,
    int fFirstShow,
    IVsWindowFrame pFrame
)
int OnBeforeDocumentWindowShow(
    unsigned int docCookie,
    int fFirstShow,
    IVsWindowFrame^ pFrame
)
abstract OnBeforeDocumentWindowShow : 
        docCookie:uint32 *
        fFirstShow:int *
        pFrame:IVsWindowFrame -> int
Function OnBeforeDocumentWindowShow (
    docCookie As UInteger,
    fFirstShow As Integer,
    pFrame As IVsWindowFrame
) As Integer

Parametreler

  • docCookie
    [in] Niteliklerini değiştirilen belgeyi gösteren soyut değer.
  • fFirstShow
    [in] Sıfır olmayan (TRUE) belge penceresi ilk kez görüntüleniyorsa.
  • pFrame
    [in] IVsWindowFrame Belge penceresi içeren çerçeveyi temsil eden arabirim nesnesi.

Dönüş Değeri

Type: System.Int32

Yöntem başarılı olursa, verir S_OK.Başarısız olursa, bir hata kodu döndürür.

Uygulanan

IVsRunningDocTableEvents2.OnBeforeDocumentWindowShow(UInt32, Int32, IVsWindowFrame)

Notlar

com imzası

Vsshell.idl:

HRESULT IVsRunningDocTableEvents3::OnBeforeDocumentWindowShow(
   [in] VSCOOKIE docCookie,
   [in] BOOL fFirstShow,
   [in] IVsWindowFrame *pFrame
);

Ayrıca bkz.

IVsRunningDocTableEvents3 Arabirim
Microsoft.VisualStudio.Shell.Interop Ad Alanı

Başa dön