Share via


IVsProfileDataManager.ResetSettings Method

Definition

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.

Applies to