Partager via


ExternalSettingsManager.CreateForApplication Method (String, String)

Used to construct the SettingsManager AppID based Visual Studio applications with suffixed mode. In suffixed mode, any changes made to the settings are isolated from the normal running mode.

Namespace:  Microsoft.VisualStudio.Settings
Assembly:  Microsoft.VisualStudio.Settings (in Microsoft.VisualStudio.Settings.dll)

Syntax

'Déclaration
Public Shared Function CreateForApplication ( _
    applicationPath As String, _
    rootSuffix As String _
) As ExternalSettingsManager
'Utilisation
Dim applicationPath As String
Dim rootSuffix As String
Dim returnValue As ExternalSettingsManager

returnValue = ExternalSettingsManager.CreateForApplication(applicationPath, _
    rootSuffix)
public static ExternalSettingsManager CreateForApplication(
    string applicationPath,
    string rootSuffix
)
public:
static ExternalSettingsManager^ CreateForApplication(
    String^ applicationPath, 
    String^ rootSuffix
)
static member CreateForApplication : 
        applicationPath:string * 
        rootSuffix:string -> ExternalSettingsManager 
public static function CreateForApplication(
    applicationPath : String, 
    rootSuffix : String
) : ExternalSettingsManager

Parameters

  • applicationPath
    Type: System.String
    Path of the executable of Visual Studio.

Return Value

Type: Microsoft.VisualStudio.Settings.ExternalSettingsManager

.NET Framework Security

See Also

Reference

ExternalSettingsManager Class

ExternalSettingsManager Members

CreateForApplication Overload

Microsoft.VisualStudio.Settings Namespace