IVsApplicationConfiguration.FileExists Method
Returns a value indicating whether a configuration file exists on disk.
Namespace: Microsoft.VisualStudio.ManagedInterfaces9
Assembly: Microsoft.VisualStudio.ManagedInterfaces.WCF (in Microsoft.VisualStudio.ManagedInterfaces.WCF.dll)
Syntax
'宣告
Function FileExists As Boolean
bool FileExists()
bool FileExists()
abstract FileExists : unit -> bool
function FileExists() : boolean
Return Value
Type: Boolean
true if the file exists; otherwise false.
Remarks
Use this method to determine whether a configuration file for given hierarchy/itemid exists. The QueryEditConfiguration method attempts to create a configuration file if one does not exist. The method returns false if the configuration file exists and cannot be opened for editing, or if the file does not exist and cannot be created.
.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.