Share via


IProjectConfigurationService.GetProjectFileConfiguration Method

Definition

Retrieve project configuration for a Project File

public:
 Microsoft::VisualStudio::Workspace::IPropertySettings ^ GetProjectFileConfiguration(Microsoft::VisualStudio::Workspace::ProjectTargetFileContext ^ projectFileContext, System::String ^ name, [Runtime::InteropServices::Out] System::String ^ % activeBuildConfiguration);
public Microsoft.VisualStudio.Workspace.IPropertySettings GetProjectFileConfiguration (Microsoft.VisualStudio.Workspace.ProjectTargetFileContext projectFileContext, string name, out string activeBuildConfiguration);
public Microsoft.VisualStudio.Workspace.IPropertySettings? GetProjectFileConfiguration (Microsoft.VisualStudio.Workspace.ProjectTargetFileContext projectFileContext, string? name, out string? activeBuildConfiguration);
abstract member GetProjectFileConfiguration : Microsoft.VisualStudio.Workspace.ProjectTargetFileContext * string * string -> Microsoft.VisualStudio.Workspace.IPropertySettings
Public Function GetProjectFileConfiguration (projectFileContext As ProjectTargetFileContext, name As String, ByRef activeBuildConfiguration As String) As IPropertySettings

Parameters

projectFileContext
ProjectTargetFileContext

The project file context

name
String

Optional name of the configuration

activeBuildConfiguration
String

The Active build configuration

Returns

A project file settings instance

Applies to