IVsProfileDataManager::ResetSettings Method (IVsProfileSettingsFileInfo^, IVsSettingsErrorInformation^)

 

Resets settings values.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

int ResetSettings(
	IVsProfileSettingsFileInfo^ pFileInfo,
	[OutAttribute] IVsSettingsErrorInformation^% ppsettingsErrorInformation
)

Parameters

pFileInfo
Type: Microsoft.VisualStudio.Shell.Interop::IVsProfileSettingsFileInfo^

[in] Pointer to an IVsProfileSettingsFileInfo interface containing information about the settings file.

ppsettingsErrorInformation
Type: Microsoft.VisualStudio.Shell.Interop::IVsSettingsErrorInformation^

[out] Pointer to an IVsSettingsErrorInformation interface reporting any errors. Set to null if there are no errors.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Return to top
Show: