Partager via


IWorkspaceSettingsProvider.GetSingleSettings(String, String) Method

Definition

Provide a workspace schema settings collection to be merged with the rest of the Workspace's sources. Note provider should only provide a single source that applies only to the "scopePath".

public:
 Microsoft::VisualStudio::Workspace::Settings::IWorkspaceSettingsSource ^ GetSingleSettings(System::String ^ type, System::String ^ scopePath);
public:
 Microsoft::VisualStudio::Workspace::Settings::IWorkspaceSettingsSource ^ GetSingleSettings(Platform::String ^ type, Platform::String ^ scopePath);
Microsoft::VisualStudio::Workspace::Settings::IWorkspaceSettingsSource GetSingleSettings(std::wstring const & type, std::wstring const & scopePath);
public Microsoft.VisualStudio.Workspace.Settings.IWorkspaceSettingsSource GetSingleSettings (string type, string scopePath);
public Microsoft.VisualStudio.Workspace.Settings.IWorkspaceSettingsSource? GetSingleSettings (string type, string? scopePath);
abstract member GetSingleSettings : string * string -> Microsoft.VisualStudio.Workspace.Settings.IWorkspaceSettingsSource
Public Function GetSingleSettings (type As String, scopePath As String) As IWorkspaceSettingsSource

Parameters

type
String

settings type (corresponding to the independent settings file name) Use SettingsTypes class constants

scopePath
String

location under workspace we require the settings for.

Returns

settings reader

Applies to