Condividi tramite


ProjectConfigurationPropertiesFilterExtensions.PropertiesByName Method

Definition

Overloads

PropertiesByName(IProjectConfigurationSnapshot, String[])

Gets project properties with a set of known names.

PropertiesByName(IProjectConfigurationSnapshot, PropertySourceType, String[])

Gets project properties with a set of known names.

PropertiesByName(IProjectConfigurationSnapshot, String[])

Gets project properties with a set of known names.

public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncQueryable<Microsoft.VisualStudio.ProjectSystem.Query.IPropertySnapshot> PropertiesByName (this Microsoft.VisualStudio.ProjectSystem.Query.IProjectConfigurationSnapshot projectConfiguration, params string[] propertyNames);
static member PropertiesByName : Microsoft.VisualStudio.ProjectSystem.Query.IProjectConfigurationSnapshot * string[] -> Microsoft.VisualStudio.ProjectSystem.Query.IAsyncQueryable<Microsoft.VisualStudio.ProjectSystem.Query.IPropertySnapshot>
<Extension()>
Public Function PropertiesByName (projectConfiguration As IProjectConfigurationSnapshot, ParamArray propertyNames As String()) As IAsyncQueryable(Of IPropertySnapshot)

Parameters

projectConfiguration
IProjectConfigurationSnapshot

ProjectConfiguration

propertyNames
String[]

One or more name of properties.

Returns

A project query with additional properties.

Applies to

PropertiesByName(IProjectConfigurationSnapshot, PropertySourceType, String[])

Gets project properties with a set of known names.

public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncQueryable<Microsoft.VisualStudio.ProjectSystem.Query.IPropertySnapshot> PropertiesByName (this Microsoft.VisualStudio.ProjectSystem.Query.IProjectConfigurationSnapshot projectConfiguration, Microsoft.VisualStudio.ProjectSystem.Query.PropertySourceType sourceType, params string[] propertyNames);
static member PropertiesByName : Microsoft.VisualStudio.ProjectSystem.Query.IProjectConfigurationSnapshot * Microsoft.VisualStudio.ProjectSystem.Query.PropertySourceType * string[] -> Microsoft.VisualStudio.ProjectSystem.Query.IAsyncQueryable<Microsoft.VisualStudio.ProjectSystem.Query.IPropertySnapshot>
<Extension()>
Public Function PropertiesByName (projectConfiguration As IProjectConfigurationSnapshot, sourceType As PropertySourceType, ParamArray propertyNames As String()) As IAsyncQueryable(Of IPropertySnapshot)

Parameters

projectConfiguration
IProjectConfigurationSnapshot

ProjectConfiguration

sourceType
PropertySourceType

a PropertySourceType representing the source of the property.

propertyNames
String[]

One or more name of properties.

Returns

A project query with additional properties.

Applies to