ISharePointAppSettings.CreateWebProject Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CreateWebProject(HighTrustCreationInformation) |
Creates a web application project and links it to the current app project. The web project's name will be the app project's name appended by "Web". |
CreateWebProject(WebProjectCreationInformation, HighTrustCreationInformation) |
Creates a web application project and links it to the current app project. |
CreateWebProject(HighTrustCreationInformation)
Creates a web application project and links it to the current app project. The web project's name will be the app project's name appended by "Web".
public string CreateWebProject (Microsoft.VisualStudio.SharePoint.HighTrustCreationInformation highTrustCreationInformation = default);
abstract member CreateWebProject : Microsoft.VisualStudio.SharePoint.HighTrustCreationInformation -> string
Public Function CreateWebProject (Optional highTrustCreationInformation As HighTrustCreationInformation = Nothing) As String
Parameters
- highTrustCreationInformation
- HighTrustCreationInformation
Provides additional information for creating the web project as part of a high trust app.
Returns
The path to the new web project if successfully created; null
otherwise.
Applies to
CreateWebProject(WebProjectCreationInformation, HighTrustCreationInformation)
Creates a web application project and links it to the current app project.
public string CreateWebProject (Microsoft.VisualStudio.SharePoint.WebProjectCreationInformation webProjectCreationInformation, Microsoft.VisualStudio.SharePoint.HighTrustCreationInformation highTrustCreationInformation = default);
abstract member CreateWebProject : Microsoft.VisualStudio.SharePoint.WebProjectCreationInformation * Microsoft.VisualStudio.SharePoint.HighTrustCreationInformation -> string
Public Function CreateWebProject (webProjectCreationInformation As WebProjectCreationInformation, Optional highTrustCreationInformation As HighTrustCreationInformation = Nothing) As String
Parameters
- webProjectCreationInformation
- WebProjectCreationInformation
The information for creating the web project.
- highTrustCreationInformation
- HighTrustCreationInformation
Provides additional information for creating the web project as part of a high trust app.
Returns
The path to the new web project if successfully created; null
otherwise.