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)

bool FileExists()

Return Value

Type: System::Boolean

true if the file exists; otherwise false.

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.

Return to top
Show: