Megosztás a következőn keresztül:


GenerateResource.StronglyTypedLanguage Property

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

Gets or sets the language to use when generating the class source for the strongly typed resource.

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
Public Property StronglyTypedLanguage As String
public string StronglyTypedLanguage { get; set; }
public:
property String^ StronglyTypedLanguage {
    String^ get ();
    void set (String^ value);
}
member StronglyTypedLanguage : string with get, set
function get StronglyTypedLanguage () : String 
function set StronglyTypedLanguage (value : String)

Property Value

Type: System.String
The language to use when generating the class source for the strongly typed resource.

Remarks

This property must match exactly one of the languages used by the CodeDomProvider. For example: VB or C#.

By passing a value to this parameter, you instruct the task to generate strongly typed resources.

.NET Framework Security

See Also

Reference

GenerateResource Class

Microsoft.Build.Tasks Namespace