Share via


ISharePointProjectMemberReference.ProjectPath Property

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

Gets the path to the project file to which the referenced item belongs.

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

Syntax

'Declaration
ReadOnly Property ProjectPath As String
string ProjectPath { get; }

Property Value

Type: System.String
A string representing a project file path.

Remarks

This path should be relative to the current project. That is, the project to which the reference, not the referenced item, belongs.

If the path is nulla null reference (Nothing in Visual Basic) or empty, then the current project is assumed.

Paths can be absolute, but is not recommended because it risks tying a solution to a specific development system.

.NET Framework Security

See Also

Reference

ISharePointProjectMemberReference Interface

Microsoft.VisualStudio.SharePoint Namespace