Freigeben über


IVsSettingsStore.GetLastWriteTime Method

Returns the last time a value was written in a specified collection, including all its properties and sub-collections.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Syntax

'Declaration
Function GetLastWriteTime ( _
    collectionPath As String, _
    <OutAttribute> lastWriteTime As SYSTEMTIME() _
) As Integer
int GetLastWriteTime(
    string collectionPath,
    SYSTEMTIME[] lastWriteTime
)
int GetLastWriteTime(
    [InAttribute] String^ collectionPath, 
    [OutAttribute] array<SYSTEMTIME>^ lastWriteTime
)
abstract GetLastWriteTime : 
        collectionPath:string * 
        lastWriteTime:SYSTEMTIME[] byref -> int
function GetLastWriteTime(
    collectionPath : String, 
    lastWriteTime : SYSTEMTIME[]
) : int

Parameters

  • collectionPath
    Type: String

    [in] The path of the collection.

Return Value

Type: Int32
Returns S_OK if the write time was returned. If the collection does not exist, the method returns E_INVALIDARG.

Remarks

The method does not report any further changes internal to the sub-collections; it is not recursive. The last write time of a collection is updated if properties are created, deleted or have their values modified, or if a sub-collection is created or deleted.

.NET Framework Security

See Also

Reference

IVsSettingsStore Interface

Microsoft.VisualStudio.Shell.Interop Namespace