共用方式為


Task.Line Property

Gets or sets the line number of the file associated with the task.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

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

Property Value

Type: System.Int32
The line number of the file associated with the task.

.NET Framework Security

See Also

Reference

Task Class

Microsoft.VisualStudio.Shell Namespace