WebSiteProperties.CurrentWebsiteLanguage Property
Gets or sets the name of the current code language for the Web site project.
Namespace: VsWebSite
Assembly: VsWebSite.Interop (in VsWebSite.Interop.dll)
Syntax
string CurrentWebsiteLanguage { get; set; }
property String^ CurrentWebsiteLanguage {
String^ get();
void set(String^ value);
}
abstract CurrentWebsiteLanguage : string with get, set
Property CurrentWebsiteLanguage As String
Property Value
Type: System.String
The name of the code language for the Web site, such as "VB" or "C#".
Remarks
If the user changes the language in the Add New Item dialog box, the value of this property changes accordingly.
Note
Starting with Visual Studio 2005, Web site projects can have files in various languages, so this property is no longer of any value.
Examples
For an example of reading and setting late-bound properties, see WebSiteProperties.
See Also
EnvDTE
WebSiteProperties
VsWebSite Namespace
Referencing Automation Assemblies and the DTE2 Object
Return to top