PropertySettingsHelper.GetValues Method

Definition

Overloads

GetValues(IPropertySettings, Object, BindingFlags, Func<String,String>)

GetValues using Reflection API

GetValues(IPropertySettings, Object, PropertyInfo[], Func<String,String>)

GetValues using Reflection API

GetValues(IPropertySettings, Object, BindingFlags, Func<String,String>)

GetValues using Reflection API

public static void GetValues (this Microsoft.VisualStudio.Workspace.IPropertySettings settings, object target, System.Reflection.BindingFlags bindingAttr = System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.Public, Func<string,string> propertyNameConverter = default);
static member GetValues : Microsoft.VisualStudio.Workspace.IPropertySettings * obj * System.Reflection.BindingFlags * Func<string, string> -> unit
<Extension()>
Public Sub GetValues (settings As IPropertySettings, target As Object, Optional bindingAttr As BindingFlags = System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.Public, Optional propertyNameConverter As Func(Of String, String) = Nothing)

Parameters

settings
IPropertySettings

The setting instance

target
Object

Target object to set values

bindingAttr
BindingFlags

Binding flags of target

propertyNameConverter
Func<String,String>

An optional property name converter

Applies to

GetValues(IPropertySettings, Object, PropertyInfo[], Func<String,String>)

GetValues using Reflection API

public static void GetValues (this Microsoft.VisualStudio.Workspace.IPropertySettings settings, object target, System.Reflection.PropertyInfo[] properties, Func<string,string> propertyNameConverter = default);
static member GetValues : Microsoft.VisualStudio.Workspace.IPropertySettings * obj * System.Reflection.PropertyInfo[] * Func<string, string> -> unit
<Extension()>
Public Sub GetValues (settings As IPropertySettings, target As Object, properties As PropertyInfo(), Optional propertyNameConverter As Func(Of String, String) = Nothing)

Parameters

settings
IPropertySettings

The setting instance

target
Object

Target object to set values

properties
PropertyInfo[]

List of property infos to populate

propertyNameConverter
Func<String,String>

An optional property name converter

Applies to