Partager via


ExternalSettingsManager.CreateForApplication Method (String, Boolean)

Used to construct the SettingsManager for AppID-based Visual Studio applications.

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, _
    isLogged As Boolean _
) As ExternalSettingsManager
public static ExternalSettingsManager CreateForApplication(
    string applicationPath,
    bool isLogged
)
public:
static ExternalSettingsManager^ CreateForApplication(
    String^ applicationPath, 
    bool isLogged
)
static member CreateForApplication : 
        applicationPath:string * 
        isLogged:bool -> ExternalSettingsManager
public static function CreateForApplication(
    applicationPath : String, 
    isLogged : boolean
) : ExternalSettingsManager

Parameters

  • applicationPath
    Type: String

    The path of the executable Visual Studio application.

  • isLogged
    Type: 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