Udostępnij za pośrednictwem


Metoda LanguageService.IsSourceOpen —

Określa, czy plik źródłowy jest otwarty.

Przestrzeń nazw:  Microsoft.VisualStudio.Package
Zestawy:   Microsoft.VisualStudio.Package.LanguageService.9.0 (w Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (w Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (w Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (w Microsoft.VisualStudio.Package.LanguageService.dll)

Składnia

'Deklaracja
Public Overridable Function IsSourceOpen ( _
    src As Source _
) As Boolean
public virtual bool IsSourceOpen(
    Source src
)

Parametry

Wartość zwracana

Typ: System.Boolean
true Jeśli plik jest członkiem źródeł własnością tej usługi; w przeciwnym razie false.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

LanguageService Klasa

Przestrzeń nazw Microsoft.VisualStudio.Package