Condividi tramite


IVsProfileDataManager.LastResetPoint Method

Returns the path and name of the file most recently used to reset profile settings information. This is either the default settings file or the file the user most recently used to save settings.

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

Syntax

'Declaration
Function LastResetPoint ( _
    <OutAttribute> ByRef pbstrResetFilename As String _
) As Integer
int LastResetPoint(
    out string pbstrResetFilename
)
int LastResetPoint(
    [OutAttribute] String^% pbstrResetFilename
)
abstract LastResetPoint : 
        pbstrResetFilename:string byref -> int
function LastResetPoint(
    pbstrResetFilename : String
) : int

Parameters

  • pbstrResetFilename
    Type: String%

    [out] Pointer to a string containing the path and filename of the file most recently used when resetting profile settings.

Return Value

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsProfileDataManager::LastResetPoint(
   [out] BSTR *pbstrResetFilename
);

.NET Framework Security

See Also

Reference

IVsProfileDataManager Interface

Microsoft.VisualStudio.Shell.Interop Namespace