次の方法で共有


IProjectConfigurationService.GetBuildConfigurations Method

Definition

Return all build configurations for a project file

public:
 System::Collections::Generic::IEnumerable<System::String ^> ^ GetBuildConfigurations(Microsoft::VisualStudio::Workspace::ProjectTargetFileContext ^ projectFileContext);
public System.Collections.Generic.IEnumerable<string> GetBuildConfigurations (Microsoft.VisualStudio.Workspace.ProjectTargetFileContext projectFileContext);
public System.Collections.Generic.IEnumerable<string>? GetBuildConfigurations (Microsoft.VisualStudio.Workspace.ProjectTargetFileContext projectFileContext);
abstract member GetBuildConfigurations : Microsoft.VisualStudio.Workspace.ProjectTargetFileContext -> seq<string>
Public Function GetBuildConfigurations (projectFileContext As ProjectTargetFileContext) As IEnumerable(Of String)

Parameters

projectFileContext
ProjectTargetFileContext

The project file context

Returns

list of build configurations or null if not found

Applies to