共用方式為


GenerateResource.StronglyTypedFileName Property

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets or sets the filename for the source file.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

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

Syntax

'Declaration
<OutputAttribute> _
Public Property StronglyTypedFileName As String
[OutputAttribute]
public string StronglyTypedFileName { get; set; }
[OutputAttribute]
public:
property String^ StronglyTypedFileName {
    String^ get ();
    void set (String^ value);
}
[<OutputAttribute>]
member StronglyTypedFileName : string with get, set
function get StronglyTypedFileName () : String 
function set StronglyTypedFileName (value : String)

Property Value

Type: System.String
The filename for the source file.

Remarks

If this property is not specified, the name of the class is used as the base filename, with the extension dependent on the language. For example: MyClass.cs.

.NET Framework Security

See Also

Reference

GenerateResource Class

Microsoft.Build.Tasks Namespace