Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Determines whether or not the source file is open.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'Declaration
Public Overridable Function IsSourceOpen ( _
src As Source _
) As Boolean
'Usage
Dim instance As LanguageService
Dim src As Source
Dim returnValue As Boolean
returnValue = instance.IsSourceOpen(src)
public virtual bool IsSourceOpen(
Source src
)
public:
virtual bool IsSourceOpen(
Source^ src
)
abstract IsSourceOpen :
src:Source -> bool
override IsSourceOpen :
src:Source -> bool
public function IsSourceOpen(
src : Source
) : boolean
Parameters
- src
Type: Microsoft.VisualStudio.Package.Source
The source file.
Return Value
Type: System.Boolean
true if the file is a member of the sources owned by this service; otherwise false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.