共用方式為


ErrorFromResources.File Property

Gets or sets the relevant file, if there is one. If none is provided, the file containing the Error task will be used.

Namespace:  Microsoft.Build.Tasks
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

'Declaration
Public Property File As String
public string File { get; set; }
public:
property String^ File {
    String^ get ();
    void set (String^ value);
}
member File : string with get, set
function get File () : String 
function set File (value : String)

Property Value

Type: System.String
The file.

.NET Framework Security

See Also

Reference

ErrorFromResources Class

Microsoft.Build.Tasks Namespace