PropertySettingsHelper.Copy 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.
Deep copy of a configuration instance
public static Microsoft.VisualStudio.Workspace.IPropertySettings Copy (this Microsoft.VisualStudio.Workspace.IPropertySettings settings, Func<Microsoft.VisualStudio.Workspace.IPropertySettings> factory = default);
public static Microsoft.VisualStudio.Workspace.IPropertySettings Copy (this Microsoft.VisualStudio.Workspace.IPropertySettings settings, Func<Microsoft.VisualStudio.Workspace.IPropertySettings>? factory = default);
static member Copy : Microsoft.VisualStudio.Workspace.IPropertySettings * Func<Microsoft.VisualStudio.Workspace.IPropertySettings> -> Microsoft.VisualStudio.Workspace.IPropertySettings
<Extension()>
Public Function Copy (settings As IPropertySettings, Optional factory As Func(Of IPropertySettings) = Nothing) As IPropertySettings
Parameters
- settings
- IPropertySettings
The input settings instance
- factory
- Func<IPropertySettings>
Factory creator for IPropertySettings
Returns
Copy of the configuration instance