共用方式為


ExternalSettingsManager.CreateForApplication Method (String, String, Boolean)

Used to construct the SettingsManager for AppID-based Visual Studio applications that use suffixed mode. In suffixed mode, any changes to the settings are isolated from the normal running mode.

Namespace:  Microsoft.VisualStudio.Settings
Assemblies:   Microsoft.VisualStudio.Settings.11.0 (in Microsoft.VisualStudio.Settings.11.0.dll)
  Microsoft.VisualStudio.Settings (in Microsoft.VisualStudio.Settings.dll)

Syntax

'宣告
Public Shared Function CreateForApplication ( _
    applicationPath As String, _
    rootSuffix As String, _
    isLogged As Boolean _
) As ExternalSettingsManager
public static ExternalSettingsManager CreateForApplication(
    string applicationPath,
    string rootSuffix,
    bool isLogged
)

Parameters

  • applicationPath
    Type: System.String
    The path of the executable Visual Studio application.
  • isLogged
    Type: System.Boolean
    Controls the logging of the package definition management operations at startup and shutdown.

Return Value

Type: Microsoft.VisualStudio.Settings.ExternalSettingsManager

.NET Framework Security

See Also

Reference

ExternalSettingsManager Class

CreateForApplication Overload

Microsoft.VisualStudio.Settings Namespace