Partager via


Task.Line Property

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

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

Syntax

'Déclaration
Public Property Line As Integer
    Get
    Set
'Utilisation
Dim instance As Task
Dim value As Integer

value = instance.Line

instance.Line = value
public int Line { get; set; }
public:
property int Line {
    int get ();
    void set (int value);
}
member Line : int with get, set
function get Line () : int
function set Line (value : int)

Property Value

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

.NET Framework Security

See Also

Reference

Task Class

Task Members

Microsoft.VisualStudio.Shell Namespace