Partager via


SolutionFile.Parse Method

Parses the projects and project dependencies in the solution file and creates internal data structures representing the projects within the SLN.

Namespace:  Microsoft.Build.Construction
Assembly:  Microsoft.Build (in Microsoft.Build.dll)

Syntax

'Declaration
Public Shared Function Parse ( _
    solutionFile As String _
) As SolutionFile
public static SolutionFile Parse(
    string solutionFile
)
public:
static SolutionFile^ Parse(
    String^ solutionFile
)
static member Parse : 
        solutionFile:string -> SolutionFile
public static function Parse(
    solutionFile : String
) : SolutionFile

Parameters

Return Value

Type: Microsoft.Build.Construction.SolutionFile
The object that represents the solution file.

.NET Framework Security

See Also

Reference

SolutionFile Class

Microsoft.Build.Construction Namespace