Share via


ClientCodeGenerationOptions.Language Property

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Gets or sets the language for code generation.

Namespace:  Microsoft.ServiceModel.DomainServices.Tools
Assembly:  Microsoft.ServiceModel.DomainServices.Tools (in Microsoft.ServiceModel.DomainServices.Tools.dll)

Syntax

'Declaration
Public Property Language As String
    Get
    Set
'Usage
Dim instance As ClientCodeGenerationOptions
Dim value As String

value = instance.Language

instance.Language = value
public string Language { get; set; }
public:
property String^ Language {
    String^ get ();
    void set (String^ value);
}
member Language : string with get, set
function get Language () : String
function set Language (value : String)

Property Value

Type: System.String
A value that contains the language for code generation. Currently supported values are currently "C#" or "VB".

Exceptions

Exception Condition
ArgumentNullException

The value is nulla null reference (Nothing in Visual Basic) or empty.

See Also

Reference

ClientCodeGenerationOptions Class

Microsoft.ServiceModel.DomainServices.Tools Namespace