共用方式為


WebSiteProjectAttribute(String, String) Constructor

Definition

Creates a new WebSiteProjectAttribute attribute to register a language with the web site project

public:
 WebSiteProjectAttribute(System::String ^ languageID, System::String ^ languageName);
public:
 WebSiteProjectAttribute(Platform::String ^ languageID, Platform::String ^ languageName);
 WebSiteProjectAttribute(std::wstring const & languageID, std::wstring const & languageName);
public WebSiteProjectAttribute (string languageID, string languageName);
new Microsoft.VisualStudio.Shell.WebSiteProjectAttribute : string * string -> Microsoft.VisualStudio.Shell.WebSiteProjectAttribute
Public Sub New (languageID As String, languageName As String)

Parameters

languageID
String

Language ID which is being referenced from the vstemplate

languageName
String

Language Name which shows up in the add new Web Site dialog under the list of languages

Applies to