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
)
abstract LastResetPoint :
pbstrResetFilename:string byref -> int
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
);
.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.