Share via


ISharePointAppSettings.CreateWebProject Method

Definition

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.

Applies to