Freigeben über


PropertySettingsHelper.Copy Method

Definition

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

Applies to