共用方式為


ParseRequest.Timestamp Property

Specifies a time stamp for the parse request.

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

Syntax

'宣告
Public Property Timestamp As Integer
public int Timestamp { get; set; }

Property Value

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