IVsProfileDataManager.ResetSettings Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Resets settings values.
public:
int ResetSettings(Microsoft::VisualStudio::Shell::Interop::IVsProfileSettingsFileInfo ^ pFileInfo, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsSettingsErrorInformation ^ % ppsettingsErrorInformation);
public:
int ResetSettings(Microsoft::VisualStudio::Shell::Interop::IVsProfileSettingsFileInfo ^ pFileInfo, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsSettingsErrorInformation ^ & ppsettingsErrorInformation);
int ResetSettings(Microsoft::VisualStudio::Shell::Interop::IVsProfileSettingsFileInfo const & pFileInfo, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsSettingsErrorInformation const & & ppsettingsErrorInformation);
public int ResetSettings (Microsoft.VisualStudio.Shell.Interop.IVsProfileSettingsFileInfo pFileInfo, out Microsoft.VisualStudio.Shell.Interop.IVsSettingsErrorInformation ppsettingsErrorInformation);
abstract member ResetSettings : Microsoft.VisualStudio.Shell.Interop.IVsProfileSettingsFileInfo * IVsSettingsErrorInformation -> int
Public Function ResetSettings (pFileInfo As IVsProfileSettingsFileInfo, ByRef ppsettingsErrorInformation As IVsSettingsErrorInformation) As Integer
Parameters
- pFileInfo
- IVsProfileSettingsFileInfo
[in] Pointer to an IVsProfileSettingsFileInfo interface containing information about the settings file.
- ppsettingsErrorInformation
- IVsSettingsErrorInformation
[out] Pointer to an IVsSettingsErrorInformation interface reporting any errors. Set to null
if there are no errors.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.