Compartir a través de


ProjectCollection.GetLoadedProjects(String) Method

Definition

Returns any and all loaded projects with the provided path. There may be more than one, if they are distinguished by global properties and/or tools version.

public:
 System::Collections::Generic::ICollection<Microsoft::Build::Evaluation::Project ^> ^ GetLoadedProjects(System::String ^ fullPath);
public System.Collections.Generic.ICollection<Microsoft.Build.Evaluation.Project> GetLoadedProjects (string fullPath);
member this.GetLoadedProjects : string -> System.Collections.Generic.ICollection<Microsoft.Build.Evaluation.Project>
Public Function GetLoadedProjects (fullPath As String) As ICollection(Of Project)

Parameters

fullPath
String

The path to a project file to be matched.

Returns

All projects whose project path matches the given path.

Remarks

There may be more than one project with the given path because projects are also distinguished by global properties and/or tools version.

Applies to