IProjectConfigurationService.GetProjectFileConfiguration Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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