PropertySettingsHelper.GetValues Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);
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
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);
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