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

'宣言
Function LastResetPoint ( _
    <OutAttribute> ByRef pbstrResetFilename As String _
) As Integer
'使用
Dim instance As IVsProfileDataManager
Dim pbstrResetFilename As String
Dim returnValue As Integer

returnValue = instance.LastResetPoint(pbstrResetFilename)
int LastResetPoint(
    out string pbstrResetFilename
)
int LastResetPoint(
    [OutAttribute] String^% pbstrResetFilename
)
function LastResetPoint(
    pbstrResetFilename : String
) : int

Parameters

  • pbstrResetFilename
    Type: System.String%

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

Return Value

Type: System.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
);

Permissions

See Also

Reference

IVsProfileDataManager Interface

IVsProfileDataManager Members

Microsoft.VisualStudio.Shell.Interop Namespace