UpdateExtensions.SetPropertyValue Method

Definition

Overloads

SetPropertyValue(IAsyncUpdatable<IFileSnapshot>, String, Object)

Sets value to a source item property.

SetPropertyValue(IAsyncUpdatable<IProjectConfigurationSnapshot>, String, Object)

Sets value to a project configuration property.

SetPropertyValue(IAsyncUpdatable<IProjectSnapshot>, String, Object)

Sets value to a project property.

SetPropertyValue(IAsyncUpdatable<ISolutionSnapshot>, String, Object)

Sets value to a solution property.

SetPropertyValue(IAsyncUpdatable<IProjectConfigurationSnapshot>, String, Object, PropertySourceType)

Sets value to a project configuration property.

SetPropertyValue(IAsyncUpdatable<IFileSnapshot>, String, Object)

Sets value to a source item property.

public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IFileSnapshot> SetPropertyValue (this Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IFileSnapshot> files, string name, object value);
static member SetPropertyValue : Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IFileSnapshot> * string * obj -> Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IFileSnapshot>
<Extension()>
Public Function SetPropertyValue (files As IAsyncUpdatable(Of IFileSnapshot), name As String, value As Object) As IAsyncUpdatable(Of IFileSnapshot)

Parameters

files
IAsyncUpdatable<IFileSnapshot>

A set of source file item to be updated.

name
String

The name of the property.

value
Object

The new value of the property.

Returns

A set of project updated.

Applies to

SetPropertyValue(IAsyncUpdatable<IProjectConfigurationSnapshot>, String, Object)

Sets value to a project configuration property.

public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectConfigurationSnapshot> SetPropertyValue (this Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectConfigurationSnapshot> configurations, string name, object value);
static member SetPropertyValue : Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectConfigurationSnapshot> * string * obj -> Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectConfigurationSnapshot>
<Extension()>
Public Function SetPropertyValue (configurations As IAsyncUpdatable(Of IProjectConfigurationSnapshot), name As String, value As Object) As IAsyncUpdatable(Of IProjectConfigurationSnapshot)

Parameters

configurations
IAsyncUpdatable<IProjectConfigurationSnapshot>

A set of project configurations to be updated.

name
String

The name of the property.

value
Object

The new value of the property.

Returns

A set of project updated.

Applies to

SetPropertyValue(IAsyncUpdatable<IProjectSnapshot>, String, Object)

Sets value to a project property.

public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot> SetPropertyValue (this Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot> projects, string name, object value);
static member SetPropertyValue : Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot> * string * obj -> Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot>
<Extension()>
Public Function SetPropertyValue (projects As IAsyncUpdatable(Of IProjectSnapshot), name As String, value As Object) As IAsyncUpdatable(Of IProjectSnapshot)

Parameters

projects
IAsyncUpdatable<IProjectSnapshot>

A set of projects to be updated.

name
String

The name of the property.

value
Object

The new value of the property.

Returns

A set of project updated.

Applies to

SetPropertyValue(IAsyncUpdatable<ISolutionSnapshot>, String, Object)

Sets value to a solution property.

public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.ISolutionSnapshot> SetPropertyValue (this Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.ISolutionSnapshot> solutions, string name, object value);
static member SetPropertyValue : Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.ISolutionSnapshot> * string * obj -> Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.ISolutionSnapshot>
<Extension()>
Public Function SetPropertyValue (solutions As IAsyncUpdatable(Of ISolutionSnapshot), name As String, value As Object) As IAsyncUpdatable(Of ISolutionSnapshot)

Parameters

solutions
IAsyncUpdatable<ISolutionSnapshot>

A set of solutions to be updated.

name
String

The name of the property.

value
Object

The new value of the property.

Returns

A set of solutions updated.

Applies to

SetPropertyValue(IAsyncUpdatable<IProjectConfigurationSnapshot>, String, Object, PropertySourceType)

Sets value to a project configuration property.

public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectConfigurationSnapshot> SetPropertyValue (this Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectConfigurationSnapshot> configurations, string name, object value, Microsoft.VisualStudio.ProjectSystem.Query.PropertySourceType sourceType);
static member SetPropertyValue : Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectConfigurationSnapshot> * string * obj * Microsoft.VisualStudio.ProjectSystem.Query.PropertySourceType -> Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectConfigurationSnapshot>
<Extension()>
Public Function SetPropertyValue (configurations As IAsyncUpdatable(Of IProjectConfigurationSnapshot), name As String, value As Object, sourceType As PropertySourceType) As IAsyncUpdatable(Of IProjectConfigurationSnapshot)

Parameters

configurations
IAsyncUpdatable<IProjectConfigurationSnapshot>

A set of project configurations to be updated.

name
String

The name of the property.

value
Object

The new value of the property.

sourceType
PropertySourceType

Returns

A set of project updated.

Applies to