Sdílet prostřednictvím


IVsFileChangeEvents.FilesChanged – metoda (UInt32, String[], UInt32 )

 

Upozorní klienty změny jednoho nebo více souborů.

Obor názvů:   Microsoft.VisualStudio.Shell.Interop
Sestavení:  Microsoft.VisualStudio.Shell.Interop (v Microsoft.VisualStudio.Shell.Interop.dll)

Syntaxe

int FilesChanged(
    uint cChanges,
    string[] rgpszFile,
    uint[] rggrfChange
)
int FilesChanged(
    unsigned int cChanges,
    array<String^>^ rgpszFile,
    array<unsigned int>^ rggrfChange
)
abstract FilesChanged : 
        cChanges:uint32 *
        rgpszFile:string[] *
        rggrfChange:uint32[] -> int
Function FilesChanged (
    cChanges As UInteger,
    rgpszFile As String(),
    rggrfChange As UInteger()
) As Integer

Parametry

  • cChanges
    [v] Změnit počet souborů.
  • rgpszFile
    [v, size_is(cChanges)] Pole názvy souborů.
  • rggrfChange
    [v, size_is(cChanges)] Pole příznaky udávající typ změn.Viz téma _VSFILECHANGEFLAGS.

Vrácená hodnota

Type: System.Int32

Pokud metoda uspěje, vrací S_OK.Pokud se nezdaří, vrátí kód chyby.

Poznámky

Podpis COM

Z vsshell.idl:

HRESULT IVsFileChangeEvents::FilesChanged(
   [in] DWORD cChanges,
   [in, size_is(cChanges)] LPCOLESTR rgpszFile[],
   [in, size_is(cChanges)] VSFILECHANGEFLAGS rggrfChange[]
);

Kontroluje změny atribut jen pro čtení a změny obsahu.Atribut jen pro čtení změny zobrazení aktualizovat okamžitě.Změny obsahu souboru bude uživatel vyzván k načtení souboru.

Viz také

IVsFileChangeEvents – rozhraní
Microsoft.VisualStudio.Shell.Interop – obor názvů

Zpátky na začátek