WorkspaceSettingsExtensions.TryGetRootedValue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get a string value with implied root
public:
[System::Runtime::CompilerServices::Extension]
static bool TryGetRootedValue(Microsoft::VisualStudio::Workspace::Settings::IWorkspaceSettings ^ settings, System::String ^ key, [Runtime::InteropServices::Out] System::String ^ % value, [Runtime::InteropServices::Out] System::String ^ % root);
public static bool TryGetRootedValue (this Microsoft.VisualStudio.Workspace.Settings.IWorkspaceSettings settings, string key, out string value, out string root);
public static bool TryGetRootedValue (this Microsoft.VisualStudio.Workspace.Settings.IWorkspaceSettings settings, string key, out string? value, out string? root);
static member TryGetRootedValue : Microsoft.VisualStudio.Workspace.Settings.IWorkspaceSettings * string * string * string -> bool
<Extension()>
Public Function TryGetRootedValue (settings As IWorkspaceSettings, key As String, ByRef value As String, ByRef root As String) As Boolean
Parameters
- settings
- IWorkspaceSettings
the settings instance
- key
- String
the name of the property
- value
- String
the string value
- root
- String
the implied root
Returns
true if exist