Compartir a través de


Task.Document Property

Gets or sets 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

'Declaración
Public Property Document As String
    Get
    Set
'Uso
Dim instance As Task
Dim value As String

value = instance.Document

instance.Document = value
public string Document { get; set; }
public:
property String^ Document {
    String^ get ();
    void set (String^ value);
}
member Document : string with get, set
function get Document () : String
function set Document (value : String)

Property Value

Type: System.String
The name of the file.

.NET Framework Security

See Also

Reference

Task Class

Task Members

Microsoft.VisualStudio.Shell Namespace