共用方式為


BuildCommonUtil.SourceDirEnvironmentVariable Property

Gets the sources directory, into which all source files are mapped by default. This is equivalent to BuildDirEnvironmentVariable\SourceSubdirectory.

Namespace:  Microsoft.TeamFoundation.Build.Common
Assembly:  Microsoft.TeamFoundation.Build.Common (in Microsoft.TeamFoundation.Build.Common.dll)

Syntax

'Declaration
Public Shared ReadOnly Property SourceDirEnvironmentVariable As String
public static string SourceDirEnvironmentVariable { get; }
public:
static property String^ SourceDirEnvironmentVariable {
    String^ get ();
}
static member SourceDirEnvironmentVariable : string with get
static function get SourceDirEnvironmentVariable () : String

Property Value

Type: System.String
Returns String.

.NET Framework Security

See Also

Reference

BuildCommonUtil Class

Microsoft.TeamFoundation.Build.Common Namespace