ParseRequest::Timestamp Property

 

Specifies a time stamp for the parse request.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
property int Timestamp {
	int get();
	void set(int value);
}

Property Value

Type: System::Int32

Returns a number that represents a point in time.

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.

Return to top
Show: