Compartir a través de


UpdateExtensions.AddConfigurationDimensionValue Method

Definition

Adds a new value to a configuration dimension.

public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot> AddConfigurationDimensionValue (this Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot> projects, string dimensionName, string newValue, string existingValue, bool propagate);
static member AddConfigurationDimensionValue : Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot> * string * string * string * bool -> Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot>
<Extension()>
Public Function AddConfigurationDimensionValue (projects As IAsyncUpdatable(Of IProjectSnapshot), dimensionName As String, newValue As String, existingValue As String, propagate As Boolean) As IAsyncUpdatable(Of IProjectSnapshot)

Parameters

projects
IAsyncUpdatable<IProjectSnapshot>

A set of projects to be updated with the new configuration dimension.

dimensionName
String

The name of dimension to add value to.

newValue
String

The new value to be added.

existingValue
String

An existing value to copy properties from. Empty string if properties should not be copied.

propagate
Boolean

Specifies if the project configuration change to be propagated to the solution file.

Returns

Applies to