Compartilhar via


ParseRequest.Timestamp Property

Specifies a time stamp for the parse request.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)

Syntax

'Declaration
Public Property Timestamp As Integer
public int Timestamp { get; set; }
public:
property int Timestamp {
    int get ();
    void set (int value);
}
member Timestamp : int with get, set
function get Timestamp () : int 
function set Timestamp (value : int)

Property Value

Type: Int32
Returns a number that represents a point in time.

Remarks

The value stored in this is not an actual time value; it is used to handle the situation where a parsing operation may have been started due to a change in the source but by the time the parse was finished, another change had been made and the results of the first parse may be invalid or otherwise considered stale. The Source class uses this property internally to prevent stale information from appearing in completion lists, brace matching, and method tips.

.NET Framework Security

See Also

Reference

ParseRequest Class

Microsoft.VisualStudio.Package Namespace