Share via


ISharePointAppSettings.LinkToWebProject Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Links to the web project specified by webProjectPath.

Namespace:  Microsoft.VisualStudio.SharePoint
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

'Declaration
Function LinkToWebProject ( _
    webProjectPath As String, _
    doNotModifyAppProject As Boolean, _
    doNotModifyWebProject As Boolean _
) As String
string LinkToWebProject(
    string webProjectPath,
    bool doNotModifyAppProject,
    bool doNotModifyWebProject
)

Parameters

  • webProjectPath
    Type: System.String

    The full path to the web project. nulla null reference (Nothing in Visual Basic) is accepted for removing the existing link to the web project.

  • doNotModifyAppProject
    Type: System.Boolean

    Indicates if the app project should not be modified after link.

  • doNotModifyWebProject
    Type: System.Boolean

    Indicates if the web project should not be modified after link.

Return Value

Type: System.String
The full path to the originally linked web project, or nulla null reference (Nothing in Visual Basic) if there is no web project linked before.

.NET Framework Security

See Also

Reference

ISharePointAppSettings Interface

Microsoft.VisualStudio.SharePoint Namespace