Partager via


UpdateExtensions.SetBuildPropertyValue Method

Definition

Caution

Build Properties will be deprecated and folded into Properties. Please use new extensions available in ProjectConfiguration, PropertiesByName and pass the corresponding source type.

Sets value to a project configuration build property.

[System.Obsolete("Build Properties will be deprecated and folded into Properties. Please use new extensions available in ProjectConfiguration, PropertiesByName and pass the corresponding source type.")]
public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectConfigurationSnapshot> SetBuildPropertyValue (this Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectConfigurationSnapshot> configurations, string name, string value, string storageType);
[<System.Obsolete("Build Properties will be deprecated and folded into Properties. Please use new extensions available in ProjectConfiguration, PropertiesByName and pass the corresponding source type.")>]
static member SetBuildPropertyValue : Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectConfigurationSnapshot> * string * string * string -> Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectConfigurationSnapshot>
<Extension()>
Public Function SetBuildPropertyValue (configurations As IAsyncUpdatable(Of IProjectConfigurationSnapshot), name As String, value As String, storageType As String) As IAsyncUpdatable(Of IProjectConfigurationSnapshot)

Parameters

configurations
IAsyncUpdatable<IProjectConfigurationSnapshot>

A set of project configurations to be updated.

name
String

The name of the property.

value
String

The new value of the property.

storageType
String

The storage type for file persistence.

Returns

A set of project updated.

Attributes

Applies to