Share via


CheckOffice2007Document.SourceDocument Property

Gets or sets the relative or fully qualified path of the version of the document that is in the project folder.

Namespace:  Microsoft.VisualStudio.Tools.Office.BuildTasks
Assembly:  Microsoft.VisualStudio.Tools.Office.BuildTasks (in Microsoft.VisualStudio.Tools.Office.BuildTasks.dll)

Syntax

'Declaration
<RequiredAttribute> _
Public Property SourceDocument As String
    Get
    Set
[RequiredAttribute]
public string SourceDocument { get; set; }

Property Value

Type: System.String
A String that represents the path of the original document. This path can be relative for local drives and network drives, but HTTP/HTTPS locations must be a fully qualified path.

Remarks

The SourceDocument property must be assigned before Execute is called.

.NET Framework Security

See Also

Reference

CheckOffice2007Document Class

Microsoft.VisualStudio.Tools.Office.BuildTasks Namespace