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
声明
Public Shared Function CreateForApplication ( _
applicationPath As String, _
rootSuffix As String, _
isLogged As Boolean _
) As ExternalSettingsManager
用法
Dim applicationPath As String
Dim rootSuffix As String
Dim isLogged As Boolean
Dim returnValue As ExternalSettingsManager
returnValue = ExternalSettingsManager.CreateForApplication(applicationPath, _
rootSuffix, isLogged)
public static ExternalSettingsManager CreateForApplication(
string applicationPath,
string rootSuffix,
bool isLogged
)
public:
static ExternalSettingsManager^ CreateForApplication(
String^ applicationPath,
String^ rootSuffix,
bool isLogged
)
static member CreateForApplication :
applicationPath:string *
rootSuffix:string *
isLogged:bool -> ExternalSettingsManager
public static function CreateForApplication(
applicationPath : String,
rootSuffix : String,
isLogged : boolean
) : ExternalSettingsManager
Parameters
- applicationPath
Type: System.String
Path of the executable of Visual Studio.
- rootSuffix
Type: System.String
Name of the suffix.
- isLogged
Type: System.Boolean
Flag to control the logging of the package definition management operations at startup and shutdown.
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.