Udostępnij za pośrednictwem


WriteCodeFragment.Language Property

Definition

Language of code to generate. Language name can be any language for which a CodeDom provider is available. For example, "C#", "VisualBasic". Emitted file will have the default extension for that language.

public:
 property System::String ^ Language { System::String ^ get(); void set(System::String ^ value); };
[Microsoft.Build.Framework.Required]
public string Language { get; set; }
[Microsoft.Build.Framework.Required]
public string Language { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }
[<Microsoft.Build.Framework.Required>]
member this.Language : string with get, set
[<Microsoft.Build.Framework.Required>]
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.Language : string with get, set
Public Property Language As String

Property Value

The language of code to generate.

Attributes

Remarks

Language name can be any language for which a CodeDom provider is available. For example, "C#", "VisualBasic". The file emitted is given the default extension for that language.

Applies to