IVsProfileDataManager.ResetSettings Method
Resets settings values.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function ResetSettings ( _
pFileInfo As IVsProfileSettingsFileInfo, _
<OutAttribute> ByRef ppsettingsErrorInformation As IVsSettingsErrorInformation _
) As Integer
int ResetSettings(
IVsProfileSettingsFileInfo pFileInfo,
out IVsSettingsErrorInformation ppsettingsErrorInformation
)
int ResetSettings(
[InAttribute] IVsProfileSettingsFileInfo^ pFileInfo,
[OutAttribute] IVsSettingsErrorInformation^% ppsettingsErrorInformation
)
abstract ResetSettings :
pFileInfo:IVsProfileSettingsFileInfo *
ppsettingsErrorInformation:IVsSettingsErrorInformation byref -> int
function ResetSettings(
pFileInfo : IVsProfileSettingsFileInfo,
ppsettingsErrorInformation : IVsSettingsErrorInformation
) : int
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 nulla null reference (Nothing in Visual Basic) 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.
.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.