ExternalSettingsManager.CreateForApplication Method (String, String)
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 (in Microsoft.VisualStudio.Settings.dll)
Microsoft.VisualStudio.Settings.12.0 (in Microsoft.VisualStudio.Settings.12.0.dll)
Microsoft.VisualStudio.Settings.11.0 (in Microsoft.VisualStudio.Settings.11.0.dll)
Syntax
'Declaration
Public Shared Function CreateForApplication ( _
applicationPath As String, _
rootSuffix As String _
) As ExternalSettingsManager
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: StringThe path of the executable Visual Studio application.
rootSuffix
Type: StringThe name of the suffix.
Return Value
Type: Microsoft.VisualStudio.Settings.ExternalSettingsManager
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.